X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;h=643d9757017866394d3bd14c96c89fea8a2bee4a;hb=65bf229b6d9d28f097f5d71a4a6bd71424e17760;hp=bd0cdda98771ddb1ed6230e7506eb5b5ed1972eb;hpb=51176fc672a4a3135e9e9883a3fa4d3a76d51f69;p=doldaconnect.git diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index bd0cdda..643d975 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -1361,7 +1361,7 @@ void cb_main_lsres_activate(GtkWidget *widget, gpointer data) void dcconnect(char *host) { - dcfd = dc_connect(host, -1); + dcfd = dc_connect(host); if(dcfd < 0) { msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not connect:\n\n%s"), strerror(errno)); @@ -2575,7 +2575,7 @@ int main(int argc, char **argv) dc_init(); signal(SIGCHLD, SIG_IGN); pubhubaddr = sstrdup("http://www.hublist.org/PublicHubList.xml.bz2"); - dcserver = sstrdup("localhost"); + dcserver = sstrdup(""); if((pwent = getpwuid(getuid())) == NULL) { fprintf(stderr, "could not get your passwd data");