]> git.sesse.net Git - vlc/commitdiff
httpdAuthOk: fix mismatched parameters order
authorRafaël Carré <funman@videolan.org>
Sun, 16 Feb 2014 15:23:21 +0000 (16:23 +0100)
committerRafaël Carré <funman@videolan.org>
Sun, 16 Feb 2014 15:23:48 +0000 (16:23 +0100)
src/network/httpd.c

index c5927048c76b9bdc414bce590b697076c63e9d27..37e10c323e65cfbc910c2a45ff16ecb6296f28ea 100644 (file)
@@ -1915,7 +1915,7 @@ static void httpd_ClientTlsHandshake( httpd_client_t *cl )
     }
 }
 
-static bool httpdAuthOk(const char *b64, const char *user, const char *pass)
+static bool httpdAuthOk(const char *user, const char *pass, const char *b64)
 {
     if (!*user && !*pass)
         return true;