summaryrefslogtreecommitdiff
path: root/git-gui/windows
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2008-12-21 02:12:11 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 01:48:23 -0800
commit8f1482536ad680fcd738158e76e254a534f2e690 (patch)
tree2b3b49ebe6e1c9a894b80250c9efcc04c47df5ff /git-gui/windows
parentAdd a documentat on how to revert a faulty merge (diff)
downloadtgif-8f1482536ad680fcd738158e76e254a534f2e690.tar.xz
connect.c: stricter port validation, silence compiler warning
In addition to checking if the provided port is numeric, also check that the string isn't empty and that the port number is within the valid range. Incidentally, this silences a compiler warning about ignoring strtol's return value. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/windows')
0 files changed, 0 insertions, 0 deletions