Mercurial > noffle
comparison src/post.c @ 366:fd66260b3479 noffle
[svn] fixed article cancelling (Debian #187068)
author | godisch |
---|---|
date | Tue, 01 Apr 2003 11:27:45 +0100 |
parents | b0ee77fa24d4 |
children | 21300895412f |
comparison
equal
deleted
inserted
replaced
365:33833f23bc13 | 366:fd66260b3479 |
---|---|
1 /* | 1 /* |
2 post.c | 2 post.c |
3 | 3 |
4 $Id: post.c 495 2003-03-24 23:32:48Z bears $ | 4 $Id: post.c 505 2003-04-01 10:27:45Z godisch $ |
5 */ | 5 */ |
6 | 6 |
7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
8 #include <config.h> | 8 #include <config.h> |
9 #endif | 9 #endif |
546 Log_err( "Malformed control line." ); | 546 Log_err( "Malformed control line." ); |
547 return TRUE; | 547 return TRUE; |
548 } | 548 } |
549 else if ( strcasecmp( op, "cancel" ) == 0 ) | 549 else if ( strcasecmp( op, "cancel" ) == 0 ) |
550 { | 550 { |
551 if ( ! controlCancel( Itl_next( article.control ) ) ) | 551 controlCancel( Itl_next( article.control ) ); |
552 return TRUE; /* Handled entirely locally */ | |
553 } | 552 } |
554 else | 553 else |
555 { | 554 { |
556 /* Log 'can't do' for internal groups. */ | 555 /* Log 'can't do' for internal groups. */ |
557 for( grp = Itl_first( article.newsgroups ); | 556 for( grp = Itl_first( article.newsgroups ); |