[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#198672: gnapster-gtk: Napigator website IP hard coded

Package: gnapster-gtk
Version: 1.5.0-5
Severity: important
Tags: patch

The IP address of the Napigator website used to download a server list
is hard coded into Gnapster.

This patch just changes the IP of the site, if napigator changes hosts
again this will stop working too. 

diff -ruN gnapster-1.5.0/src/napigator.c
--- gnapster-1.5.0/src/napigator.c      2003-06-24 16:45:52.000000000
+++ gnapster-patched/src/napigator.c    2003-06-24 16:46:27.000000000
@@ -119,7 +119,7 @@
    stab = get_current_stab();
    /* gah, quit hardcoding stuff! */
-   dispatch_connect(inet_addr(""), htons(80),
+   dispatch_connect(inet_addr(""), htons(80),
                    GDK_INPUT_WRITE, napigator_conn, stab);

/// end patch

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tesla 2.4.21 #3 Fri Jun 13 15:51:35 EDT 2003 i686

Versions of packages gnapster-gtk depends on:
ii  libc6                       2.3.1-17     GNU C Library: Shared libraries an
ii  libgdk-pixbuf2              0.22.0-2.0.1 The GdkPixBuf image library, gtk+ 
ii  libglib1.2                  1.2.10-9     The GLib library of C routines
ii  libgtk1.2                   1.2.10-16    The GIMP Toolkit set of widgets fo
ii  xlibs                       4.2.1-8      X Window System client libraries

-- no debconf information

Reply to: