aboutsummaryrefslogtreecommitdiffstats
path: root/src/tcp_socket.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2012-02-15 20:35:06 +0100
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>2012-02-15 20:35:06 +0100
commitd22df2915ce5005e6789f0cd4d188e56432264a7 (patch)
treeec48fd98305583666b7abb16359061590554f925 /src/tcp_socket.c
parente77d96cf892592f299d6b09955db1b852b2234b3 (diff)
downloadmpd-d22df2915ce5005e6789f0cd4d188e56432264a7.tar.gz
mpd-d22df2915ce5005e6789f0cd4d188e56432264a7.tar.xz
mpd-d22df2915ce5005e6789f0cd4d188e56432264a7.zip
main: handle negative strtol return value
size_t is unsigned most of the time, so we can't really use it to check for negative values. Also handle strtol overflow.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions