[vlc-commits] src: http_auth: Add back missing return

Marvin Scholz git at videolan.org
Thu Apr 16 15:49:31 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Apr 16 15:45:58 2020 +0200| [4aaa09e8238f2644aa4a84c6b2f62be3b780f98d] | committer: Marvin Scholz

src: http_auth: Add back missing return

Accidentally removed in f5666f079e243dcd9c9c6fced17a1a353736d81c

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

 src/network/http_auth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/network/http_auth.c b/src/network/http_auth.c
index 6d31d98cc0..4d49978ac9 100644
--- a/src/network/http_auth.c
+++ b/src/network/http_auth.c
@@ -100,6 +100,7 @@ static char *GenerateCnonce()
     vlc_hash_md5_Update( &md5, ps_random, sizeof( ps_random ) );
 
     vlc_hash_FinishHex( &md5, md5_hex );
+    return md5_hex;
 }
 
 static char *AuthDigest( vlc_object_t *p_this, vlc_http_auth_t *p_auth,



More information about the vlc-commits mailing list