aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2006-04-17 10:14:47 -0500
committerJunio C Hamano <junkio@cox.net>2006-04-17 15:05:33 -0700
commitda2a95b2a86e8b140d6c5413ea4307e395884135 (patch)
treef0b229d32e6b9028cdb2f7b2655183ccc402de1b /config.c
parent6feba7cb744d5a19472ea0bf5b337ad8a32acf80 (diff)
downloadgit-da2a95b2a86e8b140d6c5413ea4307e395884135.tar.gz
git-da2a95b2a86e8b140d6c5413ea4307e395884135.tar.xz
cleanups: Fix potential bugs in connect.c
The strncmp for ACK was ACK does not include the final space. Presumably either we should either remove the trailing space, or compare 4 chars (as this patch does). 'path' is sometimes strdup'ed, but never freed. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions