[vlc-commits] httpdAuthOk: fix mismatched parameters order

Rafaël Carré git at videolan.org
Sun Feb 16 16:23:58 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Feb 16 16:23:21 2014 +0100| [cf750eb36d7385fec5cf062bffcc5eab96c99d41] | committer: Rafaël Carré

httpdAuthOk: fix mismatched parameters order

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf750eb36d7385fec5cf062bffcc5eab96c99d41
---

 src/network/httpd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index c592704..37e10c3 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -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;



More information about the vlc-commits mailing list