]> granicus.if.org Git - transmission/commit
(trunk web) fix warnings in tr_urlIsValidTracker() and tr_urlIsValid() found by llvm...
authorJordan Lee <jordan@transmissionbt.com>
Wed, 14 Dec 2011 05:40:21 +0000 (05:40 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 14 Dec 2011 05:40:21 +0000 (05:40 +0000)
commit206b1a9a5f1b723e7712d3812031aecdb89aed3b
tree3543af5f9e4c5b52b0fe44715c3651c5abb209ec
parent30f7fae5a5561d282ac02d3bde4e4b4d64df5a1d
(trunk web) fix warnings in tr_urlIsValidTracker() and tr_urlIsValid() found by llvm's scan-build.

scan-build found similar warnings in these two functions relating to allowing NULL pointers to be passed as arguments to functions that don't allow NULL. So now those NULL checks are made explicit before the function calls.
libtransmission/utils.c