X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;fp=clients%2Fgtk2%2Fmain.c;h=05a2a0b8c0a545d02d7a5069854090d9a81a1e50;hb=efea2eaf5cb56bc2ecabb58880620134eef80b8d;hp=fc7c4fd4d60a6fd5e3d16974de3f45a883666fce;hpb=5177317d151bd295fb2e26dd691b413f2536978b;p=doldaconnect.git diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index fc7c4fd..05a2a0b 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -1338,12 +1338,16 @@ void pubhubfdcallback(gpointer data, gint source, GdkInputCondition condition) { if((wbuf = icsmbstowcs(fields[i], DCCHARSET, NULL)) == NULL) { + /* msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not decode hublist - aborting at this point: %s"), strerror(errno)); kill(pubhubproc, SIGINT); break; + */ + fields[i] = sstrdup(_("(Invalid character)")); + } else { + if((fields[i] = icwcstombs(wbuf, "UTF-8")) == NULL) + break; } - if((fields[i] = icwcstombs(wbuf, "UTF-8")) == NULL) - break; } if(i == 4) {