X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fhublist.c;h=2420ff89e93cec134ce265110e765a6f6784b5c2;hb=0bdaf034bbe27cb94ab32847afe683cb11a000eb;hp=74910e576243610b2a5d22c35ea52bde3ca8a1ed;hpb=6421be5fc011a093e35f5a2d42a8078de6ffdc0e;p=doldaconnect.git diff --git a/clients/gtk2/hublist.c b/clients/gtk2/hublist.c index 74910e5..2420ff8 100644 --- a/clients/gtk2/hublist.c +++ b/clients/gtk2/hublist.c @@ -148,7 +148,7 @@ static void fdcb(gpointer data, gint source, GdkInputCondition cond) bzs->avail_out = mybufsize - mybufdata; bzret = BZ2_bzDecompress(bzs); if((bzret != BZ_OK) && (bzret != BZ_STREAM_END)) { - msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not decompress hublist (%i)"), hret); + msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not decompress hublist (%i)"), bzret); aborthublist(); return; } @@ -200,6 +200,7 @@ void fetchhublist(char *url, regex_t *flt) msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not read hublist from server: %s"), strerror(errno)); return; } + hc->autoredir = 1; state = 0; settags(); gtk_widget_show(main_pubhubbarbox);