[vlc-commits] h2frame: fix typo, warning

Rémi Denis-Courmont git at videolan.org
Sun Apr 29 14:20:14 CEST 2018


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

h2frame: fix typo, warning

(cherry picked from commit 80919f249731ed503f0174b225a293b318530d22)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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