From dev-return-31251-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Tue Jul 02 21:43:35 2002 Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 26304 invoked by uid 500); 2 Jul 2002 21:43:35 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 26291 invoked from network); 2 Jul 2002 21:43:35 -0000 Date: Tue, 2 Jul 2002 22:39:01 +0100 From: Thom May To: HTTPD Dev List Subject: [PATCH] htpasswd: when updating a record, don't create it too Message-ID: <20020702213901.GA15943@eustasy> Mail-Followup-To: HTTPD Dev List Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: Linux/2.4.18-bf2.4 (i686) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 Hello! What is the voting period? From Mar 24th until? 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++; } } }