You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2002/07/02 21:48:38 UTC
cvs commit: httpd-2.0/support htpasswd.c
rbb 2002/07/02 12:48:38
Modified: support htpasswd.c
Log:
htpasswd needs to add a newline at the end of each record.
PR: 10422
Submitted by: Thom May [thom@planetarytramp.net]
Revision Changes Path
1.50 +1 -0 httpd-2.0/support/htpasswd.c
Index: htpasswd.c
===================================================================
RCS file: /home/cvs/httpd-2.0/support/htpasswd.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- htpasswd.c 19 Jun 2002 17:31:19 -0000 1.49
+++ htpasswd.c 2 Jul 2002 19:48:38 -0000 1.50
@@ -236,6 +236,7 @@
strcpy(record, user);
strcat(record, ":");
strcat(record, cpw);
+ strcat(record, "\n");
return 0;
}