INN commit: trunk (4 files)
INN Commit
rra at isc.org
Sun Nov 8 18:29:07 UTC 2009
Date: Sunday, November 8, 2009 @ 10:29:06
Author: iulius
Revision: 8725
Use uppercase letters.
Modified:
trunk/backends/actsync.c
trunk/lib/clientactive.c
trunk/lib/clientlib.c
trunk/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-08 17:33:25 UTC (rev 8724)
+++ backends/actsync.c 2009-11-08 18:29:06 UTC (rev 8725)
@@ -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-08 17:33:25 UTC (rev 8724)
+++ lib/clientactive.c 2009-11-08 18:29:06 UTC (rev 8725)
@@ -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-08 17:33:25 UTC (rev 8724)
+++ lib/clientlib.c 2009-11-08 18:29:06 UTC (rev 8725)
@@ -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-08 17:33:25 UTC (rev 8724)
+++ lib/defdist.c 2009-11-08 18:29:06 UTC (rev 8725)
@@ -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