Patch for actsync
rainer.ginsberg at basf-it-services.com
rainer.ginsberg at basf-it-services.com
Fri Jan 31 13:24:41 UTC 2003
Hello,
this is a patch to enable password authentication for actsync.
Best regards,
Rainer
$ diff -u backends/actsync.c.orig backends/actsync.c
--- backends/actsync.c.orig Thu Jan 30 12:18:24 2003
+++ backends/actsync.c Fri Jan 31 14:21:13 2003
@@ -902,6 +902,13 @@
DISPOSE(rhost);
exit(NOT_REACHED);
}
+
+ if (NNTPsendpassword(rhost, FromServer, ToServer) < 0) {
+ (void) fprintf(stderr, "can't authenticate with %s, %s\n",
+ rhost, strerror(errno));
+ /* Don't send quit; we want the remote to print a message. */
+ exit(NOT_REACHED);
+ }
DISPOSE(rhost);
/* get the active data from the server */
More information about the inn-patches
mailing list