httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject [PATCH] htpasswd: when updating a record, don't create it too
Date Tue, 02 Jul 2002 21:39:01 GMT
found wasn't getting incremented when we update an exisiting record, thus an
additional new record was getting created.
Cheers,
-Thom
-- 
Thom May -> thom@planetarytramp.net

<spectra> Hello!
<spectra> What is the voting period? From Mar 24th until?
<asuffield> until the candidate manoj wants to win is in the lead
* asuffield ducks into the icbm shelter


Index: support/htpasswd.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/htpasswd.c,v
retrieving revision 1.50
diff -u -u -r1.50 htpasswd.c
--- support/htpasswd.c	2 Jul 2002 19:48:38 -0000	1.50
+++ support/htpasswd.c	2 Jul 2002 21:38:34 -0000
@@ -593,6 +593,7 @@
                  */
                 apr_file_printf(errfile, "Updating ");
                 putline(ftemp, record);
+                found++;
             }
         }
     }

Mime
View raw message