]> diplodocus.org Git - nmh/commit
oauth: Replace `if...return false; return true' with `return ...'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 4 Sep 2017 09:42:17 +0000 (10:42 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 4 Sep 2017 09:42:17 +0000 (10:42 +0100)
commit89c8afe012920fe9592a510a8beab877bed1656b
treebb04c6cc56f0864b31ef06f79dcfe7d47e55a404
parentb66e1ec280f1f77dd9caf8077517b4be3ff35627
oauth: Replace `if...return false; return true' with `return ...'.

In functions returning bool, these are equivalent.

    Before:                 After:
        if (!foo())             return foo();
            return false;
        return true;
sbr/oauth.c
sbr/oauth_prof.c