From: Sergey Vlasov Date: Sun, 29 Apr 2001 13:48:26 +0000 (+0000) Subject: nntp_list(): return real error code instead of hardcoded NN_ERROR X-Git-Tag: disposition-notification~15 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=ae70d4447948f96ea74f00eaec4ad0ec57b10bfc;hp=1a006fafa27b94f85d69e58ac3a53bc1980f8cbd nntp_list(): return real error code instead of hardcoded NN_ERROR --- diff --git a/src/nntp.c b/src/nntp.c index 20ea82ef6..1dbca2197 100644 --- a/src/nntp.c +++ b/src/nntp.c @@ -303,7 +303,7 @@ gint nntp_list(SockInfo *sock) nntp_gen_send(sock, "LIST"); if ((ok = nntp_ok(sock, buf)) != NN_SUCCESS) - return NN_ERROR; + return ok; if (verbose) log_print("NNTP< %s\n", buf);