Browse Source

Response code 201 is ok after MODE READER

cf. http://tools.ietf.org/html/rfc3977#section-5.3

Not considering 201 as Ok prevents newsreaders using libetpan to work
correctly when it happens: withou the patch they get
UNEXPECTED_RESPONSE.

Ref. bug #3390872 https://sourceforge.net/tracker/?func=detail&aid=3390872&group_id=41064&atid=429696

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>
dvh-chacham15-master
Sébastien Bigaret 10 years ago
committed by DINH Viet Hoa
parent
commit
591012e2dd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/low-level/nntp/newsnntp.c

+ 1
- 0
src/low-level/nntp/newsnntp.c View File

@ -1318,6 +1318,7 @@ int newsnntp_mode_reader(newsnntp * f)
return NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_PASSWORD;
case 200:
case 201:
return NEWSNNTP_NO_ERROR;
default:


Loading…
Cancel
Save