[vlc-commits] h2frame: fix typo, warning

Rémi Denis-Courmont git at videolan.org
Sun Feb 11 12:49:19 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 11 11:51:05 2018 +0200| [80919f249731ed503f0174b225a293b318530d22] | committer: Rémi Denis-Courmont

h2frame: fix typo, warning

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

 modules/access/http/h2frame_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/http/h2frame_test.c b/modules/access/http/h2frame_test.c
index 0a474a889f..e156d2ebd6 100644
--- a/modules/access/http/h2frame_test.c
+++ b/modules/access/http/h2frame_test.c
@@ -204,7 +204,7 @@ static int vlc_h2_stream_error(void *ctx, uint_fast32_t id, uint_fast32_t code)
 
 static int vlc_h2_stream_reset(void *ctx, uint_fast32_t code)
 {
-    assert(ctx = &stream_cookie);
+    assert(ctx == &stream_cookie);
     assert(code == VLC_H2_CANCEL);
     return 0;
 }



More information about the vlc-commits mailing list