From 014e0bf46b33bd11cc6fd22c63df6ff62a52dbce Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Tue, 3 Jul 2001 21:33:47 +0000 Subject: Added NNTP_NO_PERMISSION (502) to the list of response codes. 2001-07-03 Joe Shaw * providers/nntp/camel-nntp-resp-codes.h: Added NNTP_NO_PERMISSION (502) to the list of response codes. * providers/nntp/camel-nntp-store.c (nntp_store_connect): If we receive a NNTP_NO_PERMISSION, don't get into an infinite loop trying to reconnect, get extensions, etc. Just give up and return FALSE. svn path=/trunk/; revision=10769 --- camel/providers/nntp/camel-nntp-resp-codes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/providers/nntp/camel-nntp-resp-codes.h') diff --git a/camel/providers/nntp/camel-nntp-resp-codes.h b/camel/providers/nntp/camel-nntp-resp-codes.h index 27d450b261..56aec79d3c 100644 --- a/camel/providers/nntp/camel-nntp-resp-codes.h +++ b/camel/providers/nntp/camel-nntp-resp-codes.h @@ -42,6 +42,8 @@ #define NNTP_NO_SUCH_GROUP 411 #define NNTP_NO_SUCH_ARTICLE 430 +#define NNTP_NO_PERMISSION 502 + /* authentication */ #define NNTP_AUTH_ACCEPTED 281 #define NNTP_AUTH_CONTINUE 381 -- cgit