diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-08-19 01:01:26 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-08-20 11:16:38 +0200 |
commit | 09ddb1d61cdb9ee11ebf481b29dac1be8f0ab848 (patch) | |
tree | ace9f4003112c6c6860bf4ac89982b4c0f7e6e3f /packages/Win32 | |
parent | 15f76bf7bb92b315799541b0e5127c8d22a50733 (diff) |
url: handle exceptional cases first in parse_url_login()
Instead of nesting "if(success)" blocks and leaving the reader in
suspense about what happens in the !success case, deal with failure
cases early, usually with a simple goto to clean up and return from
the function.
No functional change intended. The main effect is to decrease the
indentation of this function slightly.
Diffstat (limited to 'packages/Win32')
0 files changed, 0 insertions, 0 deletions