aboutsummaryrefslogtreecommitdiff
path: root/comms/conserver
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-08 17:57:53 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-08 17:57:53 +0000
commit641562393f4de43e59a5f6f2df5481b007f1a649 (patch)
treebed55f3a0675b3b5f39219c244e37a9c89d0258f /comms/conserver
parent314942312e3c78ad282551cfcae59ec94da9f7bc (diff)
downloadports-641562393f4de43e59a5f6f2df5481b007f1a649.tar.gz
ports-641562393f4de43e59a5f6f2df5481b007f1a649.zip
Notes
Diffstat (limited to 'comms/conserver')
-rw-r--r--comms/conserver/files/patch-readcfg.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/conserver/files/patch-readcfg.c b/comms/conserver/files/patch-readcfg.c
new file mode 100644
index 000000000000..6128a75f581e
--- /dev/null
+++ b/comms/conserver/files/patch-readcfg.c
@@ -0,0 +1,12 @@
+--- etc/conserver/readcfg.c.orig Wed Aug 2 19:39:42 2000
++++ etc/conserver/readcfg.c Tue Jul 24 12:09:27 2001
+@@ -194,7 +194,7 @@
+ if ('\000' != pGE->passwd[0] && 0 != strcmp(pcPass, pGE->passwd)) {
+ fprintf(stderr, "%s: %s(%d) group %d has more than one password, first taken\n", progname, pcFile, iLine, iG);
+ } else if ((int)strlen(pcPass) > MAXPSWDLEN) {
+- fprintf(stderr, "%s: %s(%d) password too long (%d is the limit)\n", progname, pcFile, iLine, iG, MAXPSWDLEN);
++ fprintf(stderr, "%s: %s(%d) password too long (%d is the limit)\n", progname, pcFile, iLine, MAXPSWDLEN);
+ } else {
+ (void)strcpy(pGE->passwd, pcPass);
+ }
+