commit | 0eb3d15ccb419bfda41ee31bdbf73c36facc7388 | [log] [tgz] |
---|---|---|
author | Daniel Stenberg <daniel@haxx.se> | Thu Oct 23 22:56:35 2014 +0200 |
committer | Daniel Stenberg <daniel@haxx.se> | Fri Oct 24 08:23:19 2014 +0200 |
tree | 0c4abf7bf4bac279cbcfd708e1cdd1bcdf29bb77 | |
parent | 1752e9c088d9bb7a3156dba9c66f7f64dd87afa9 [diff] |
code cleanup: we prefer 'CURLcode result' ... for the local variable name in functions holding the return code. Using the same name universally makes code easier to read and follow. Also, unify code for checking for CURLcode errors with: if(result) or if(!result) instead of if(result == CURLE_OK), if(CURLE_OK == result) or if(result != CURLE_OK)