diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-12-16 08:35:47 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-12-16 08:35:47 +0100 |
commit | 088b9b2a97e51df39bd3ad0137fa0eb25002e68a (patch) | |
tree | 517e1f86770ebe1e3d2b1d45a06b891dacbaf21c /src/tool_setopt.h | |
parent | b0670ff12b4d64c09dfb5e65454535970ba3e6c3 (diff) |
tool_operate: we prefer 'CURLcode result'
Diffstat (limited to 'src/tool_setopt.h')
-rw-r--r-- | src/tool_setopt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_setopt.h b/src/tool_setopt.h index cd144bc0d..fcba94cb2 100644 --- a/src/tool_setopt.h +++ b/src/tool_setopt.h @@ -28,8 +28,8 @@ */ #define SETOPT_CHECK(v) do { \ - res = (v); \ - if(res) \ + result = (v); \ + if(result) \ goto show_error; \ } WHILE_FALSE |