Skip to content
  • Daniel Stenberg's avatar
    code cleanup: we prefer 'CURLcode result' · 0eb3d15c
    Daniel Stenberg authored
    ... 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)
    0eb3d15c