From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 26 Apr 2011 16:50:11 +0000 (+0000)
Subject: Remove a harmless but pointless line in the code to handle the --user argument.
X-Git-Tag: v_3_0_18~251
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/developer-manual/diff?a=commitdiff_plain;h=94ed40a9af70de3f153558ef5aadff9928f5c762;p=privoxy.git

Remove a harmless but pointless line in the code to handle the --user argument.

If p is not NULL, --p already has been set to '\0' previously
and it hadn't, it would be too late now as we are done with p.
---

diff --git a/jcc.c b/jcc.c
index be1840f3..47943189 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.346 2011/04/26 16:48:04 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.347 2011/04/26 16:48:56 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -2963,8 +2963,6 @@ int main(int argc, char **argv)
          {
             log_error(LOG_LEVEL_FATAL, "User '%s' not found.", argv[argc_pos]);
          }
-
-         if (p != NULL) *--p = '\0';
       }
 
       else if (strcmp(argv[argc_pos], "--pre-chroot-nslookup" ) == 0)