Fixed bz-decompress error message bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 11 Nov 2019 01:13:23 +0000 (02:13 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 11 Nov 2019 01:13:23 +0000 (02:13 +0100)
clients/gtk2/hublist.c

index ff94161..2420ff8 100644 (file)
@@ -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;
                    }