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.
parent
15f76bf7
Please register or sign in to comment