tool_operate: we prefer 'CURLcode result'

This commit is contained in:
Daniel Stenberg
2014-12-16 08:35:47 +01:00
parent b0670ff12b
commit 088b9b2a97
2 changed files with 86 additions and 86 deletions

View File

@@ -28,8 +28,8 @@
*/
#define SETOPT_CHECK(v) do { \
res = (v); \
if(res) \
result = (v); \
if(result) \
goto show_error; \
} WHILE_FALSE