Mercurial > noffle
comparison src/noffle.c @ 390:2ad4c1c97734 noffle
[svn] * src/client.c: Return correct status from Client_postArt() and add
function comment detailing what return code should be, because it's
not obvious that the return code should report success when the
posting failed for reasons other than connection problems. This should fix
problem with failing posting stopping fetches. Thanks to Dan Jacobson
for spotting this.
* src/client.c: Fix problemette with filter discards not updating remote
group article count and so the overview being refetched until
and article appears that doesn't fall foul of the filter and thus does
update the remove group 'next article' marker. Thanks to Dan Jacobson
for spotting this.
* src/content.c: Don't be fooled into thinking a filename starting ".."
is just "..".
* src/outgoing.c: Don't assume "." and ".." are the first files returned
from readdir(). Thanks to Andreas Happe for spotting this.
* src/noffle.c: Update online help to include 'm' group posting status.
* src/server.c: Move incorrect updating of server.grp in doGrp() which was
causing doGrp() to not retrieve remote article details when in online
mode. Thanks to Miernik and Andreas Happe for reporting the problem.
author | bears |
---|---|
date | Thu, 22 May 2003 10:04:38 +0100 |
parents | 21300895412f |
children | 6cb66f5a0479 |
comparison
equal
deleted
inserted
replaced
389:f81fdcc2696b | 390:2ad4c1c97734 |
---|---|
8 not as server. If noffle runs as server, locking is performed while | 8 not as server. If noffle runs as server, locking is performed while |
9 executing NNTP commands, but temporarily released if no new command is | 9 executing NNTP commands, but temporarily released if no new command is |
10 received for some seconds (to allow multiple clients connect at the same | 10 received for some seconds (to allow multiple clients connect at the same |
11 time). | 11 time). |
12 | 12 |
13 $Id: noffle.c 517 2003-04-03 17:21:24Z bears $ | 13 $Id: noffle.c 532 2003-05-22 09:04:38Z bears $ |
14 */ | 14 */ |
15 | 15 |
16 #if HAVE_CONFIG_H | 16 #if HAVE_CONFIG_H |
17 #include <config.h> | 17 #include <config.h> |
18 #endif | 18 #endif |
565 " -f | --fetch [server] Get newsfeed from server/post articles\n" | 565 " -f | --fetch [server] Get newsfeed from server/post articles\n" |
566 " -g | --groups Show all groups available at server\n" | 566 " -g | --groups Show all groups available at server\n" |
567 " -h | --help Show this text\n" | 567 " -h | --help Show this text\n" |
568 " -l | --list List groups on fetch list\n" | 568 " -l | --list List groups on fetch list\n" |
569 " -m | --modify desc <grp> <desc> Modify a group description\n" | 569 " -m | --modify desc <grp> <desc> Modify a group description\n" |
570 " -m | --modify post <grp> (y|n) Modify posting status of a local group\n" | 570 " -m | --modify post <grp> (y|m|n) Modify posting status of a local group\n" |
571 " -n | --online Switch to online mode\n" | 571 " -n | --online Switch to online mode\n" |
572 " -o | --offline Switch to offline mode\n" | 572 " -o | --offline Switch to offline mode\n" |
573 " -O | --outgoing [server] List articles queued for posting\n" | 573 " -O | --outgoing [server] List articles queued for posting\n" |
574 " -p | --post Post article on stdin\n" | 574 " -p | --post Post article on stdin\n" |
575 " -q | --query groups [server] Get group list from server\n" | 575 " -q | --query groups [server] Get group list from server\n" |