From 94ed40a9af70de3f153558ef5aadff9928f5c762 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 26 Apr 2011 16:50:11 +0000 Subject: [PATCH] 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. --- jcc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.39.2