[vlc-commits] http: add missing symbol in test cases
Rémi Denis-Courmont
git at videolan.org
Sun Jul 14 11:29:52 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 12:26:54 2019 +0300| [d509efb230a40a00a6a96dd0ab23afb53a31c39b] | committer: Rémi Denis-Courmont
http: add missing symbol in test cases
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d509efb230a40a00a6a96dd0ab23afb53a31c39b
---
modules/access/http/chunked_test.c | 2 ++
modules/access/http/file_test.c | 2 ++
modules/access/http/h1conn_test.c | 2 ++
modules/access/http/h2conn_test.c | 2 ++
modules/access/http/h2output_test.c | 2 ++
modules/access/http/message_test.c | 2 ++
modules/access/http/tunnel_test.c | 2 ++
7 files changed, 14 insertions(+)
diff --git a/modules/access/http/chunked_test.c b/modules/access/http/chunked_test.c
index d6d5c374d0..b7af9b4cfb 100644
--- a/modules/access/http/chunked_test.c
+++ b/modules/access/http/chunked_test.c
@@ -34,6 +34,8 @@
#include "conn.h"
#include "message.h"
+const char vlc_module_name[] = "test_h1chunked";
+
/* I/O callbacks */
static const char *stream_content;
static size_t stream_length;
diff --git a/modules/access/http/file_test.c b/modules/access/http/file_test.c
index 64fab0711b..0c300ddf0b 100644
--- a/modules/access/http/file_test.c
+++ b/modules/access/http/file_test.c
@@ -35,6 +35,8 @@
#include "file.h"
#include "message.h"
+const char vlc_module_name[] = "test_http_file";
+
static const char url[] = "https://www.example.com:8443/dir/file.ext?a=b";
static const char url_http[] = "http://www.example.com:8443/dir/file.ext?a=b";
static const char url_mmsh[] = "mmsh://www.example.com:8443/dir/file.ext?a=b";
diff --git a/modules/access/http/h1conn_test.c b/modules/access/http/h1conn_test.c
index 0e792274c1..139f9afa87 100644
--- a/modules/access/http/h1conn_test.c
+++ b/modules/access/http/h1conn_test.c
@@ -39,6 +39,8 @@
#include "conn.h"
#include "message.h"
+const char vlc_module_name[] = "test_h1conn";
+
static struct vlc_http_conn *conn;
static struct vlc_tls *external_tls;
diff --git a/modules/access/http/h2conn_test.c b/modules/access/http/h2conn_test.c
index 1fb9a15d61..6b0005f069 100644
--- a/modules/access/http/h2conn_test.c
+++ b/modules/access/http/h2conn_test.c
@@ -40,6 +40,8 @@
#include "conn.h"
#include "message.h"
+const char vlc_module_name[] = "test_h2conn";
+
static struct vlc_http_conn *conn;
static struct vlc_tls *external_tls;
diff --git a/modules/access/http/h2output_test.c b/modules/access/http/h2output_test.c
index 6d61ac9a6c..8027bab492 100644
--- a/modules/access/http/h2output_test.c
+++ b/modules/access/http/h2output_test.c
@@ -36,6 +36,8 @@
#undef vlc_tick_sleep
+const char vlc_module_name[] = "test_h2output";
+
static unsigned char counter = 0;
static bool send_failure = false;
static bool expect_hello = true;
diff --git a/modules/access/http/message_test.c b/modules/access/http/message_test.c
index 003f14a346..6088e4f4ab 100644
--- a/modules/access/http/message_test.c
+++ b/modules/access/http/message_test.c
@@ -34,6 +34,8 @@
#include "message.h"
#include "h2frame.h"
+const char vlc_module_name[] = "test_http_msg";
+
static void check_req(const struct vlc_http_msg *m)
{
const char *str;
diff --git a/modules/access/http/tunnel_test.c b/modules/access/http/tunnel_test.c
index 85ed552afa..8280a9202d 100644
--- a/modules/access/http/tunnel_test.c
+++ b/modules/access/http/tunnel_test.c
@@ -47,6 +47,8 @@
#include <vlc_tls.h>
#include "transport.h"
+const char vlc_module_name[] = "test_http_tunnel";
+
static void proxy_client_process(int fd)
{
char buf[1024];
More information about the vlc-commits
mailing list