aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/rtspd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c
index 07df6f5b2..120d65d52 100644
--- a/tests/server/rtspd.c
+++ b/tests/server/rtspd.c
@@ -1191,12 +1191,14 @@ int main(int argc, char *argv[])
int flag;
unsigned short port = DEFAULT_PORT;
const char *pidname = ".rtsp.pid";
- struct httprequest req = {0};
+ struct httprequest req;
int rc;
int error;
int arg=1;
long pid;
+ memset(&req, 0, sizeof(req));
+
while(argc>arg) {
if(!strcmp("--version", argv[arg])) {
printf("rtspd IPv4%s"