]> git.ipfire.org Git - thirdparty/curl.git/commit
getparam: fix the GetStr() macro
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jul 2012 21:39:25 +0000 (23:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 15 Jul 2012 18:33:11 +0000 (20:33 +0200)
commitff318a6302a92ffb627ebffb397e8dc2420a96c0
tree7c4964826b1901c4bb2368dc4ece528ff78645c7
parent0e24c1e9212d3d06000511c0c6e6dc27da48dc8d
getparam: fix the GetStr() macro

It should return PARAM_NO_MEM if the strdup fails. Spotted by
clang-analyzer
src/tool_getparam.c