INN commit: branches/2.5 (4 files)
INN Commit
rra at isc.org
Sun Nov 15 09:28:29 UTC 2009
Date: Sunday, November 15, 2009 @ 01:28:29
Author: iulius
Revision: 8795
Use uppercase letters.
Modified:
branches/2.5/backends/actsync.c
branches/2.5/lib/clientactive.c
branches/2.5/lib/clientlib.c
branches/2.5/lib/defdist.c
--------------------+
backends/actsync.c | 2 +-
lib/clientactive.c | 6 +++---
lib/clientlib.c | 2 +-
lib/defdist.c | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
Modified: backends/actsync.c
===================================================================
--- backends/actsync.c 2009-11-15 09:28:19 UTC (rev 8794)
+++ backends/actsync.c 2009-11-15 09:28:29 UTC (rev 8795)
@@ -1092,7 +1092,7 @@
QIOclose(qp);
} else {
CAclose();
- fprintf(ToServer, "quit\r\n");
+ fprintf(ToServer, "QUIT\r\n");
fclose(ToServer);
fgets(buff, sizeof buff, FromServer);
fclose(FromServer);
Modified: lib/clientactive.c
===================================================================
--- lib/clientactive.c 2009-11-15 09:28:19 UTC (rev 8794)
+++ lib/clientactive.c 2009-11-15 09:28:29 UTC (rev 8795)
@@ -58,16 +58,16 @@
/* Send a LIST command to and capture the output. */
if (request == NULL)
- fprintf(ToServer, "list\r\n");
+ fprintf(ToServer, "LIST\r\n");
else
- fprintf(ToServer, "list %s\r\n", request);
+ fprintf(ToServer, "LIST %s\r\n", request);
fflush(ToServer);
/* Get the server's reply to our command. */
if (fgets(buff, sizeof buff, FromServer) == NULL
|| strncmp(buff, NNTP_LIST_FOLLOWS, strlen(NNTP_LIST_FOLLOWS)) != 0) {
oerrno = errno;
- /* Only call CAclose() if opened through CAopen() */
+ /* Only call CAclose() if opened through CAopen(). */
if (strcmp(CApathname, pathname) == 0)
CAclose();
errno = oerrno;
Modified: lib/clientlib.c
===================================================================
--- lib/clientlib.c 2009-11-15 09:28:19 UTC (rev 8794)
+++ lib/clientlib.c 2009-11-15 09:28:29 UTC (rev 8795)
@@ -55,7 +55,7 @@
}
/* Send the INN command; if understood, use that reply. */
- put_server("mode reader");
+ put_server("MODE READER");
if (get_server(line2, (int)sizeof line2) < 0)
return -1;
if (atoi(line2) != NNTP_ERR_COMMAND)
Modified: lib/defdist.c
===================================================================
--- lib/defdist.c 2009-11-15 09:28:19 UTC (rev 8794)
+++ lib/defdist.c 2009-11-15 09:28:29 UTC (rev 8795)
@@ -55,7 +55,7 @@
return NULL;
close(fd);
if ((F = CA_listopen(name, FromServer, ToServer,
- "distrib.pats")) == NULL)
+ "DISTRIB.PATS")) == NULL)
return NULL;
}
More information about the inn-committers
mailing list