aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib571.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib571.c')
-rw-r--r--tests/libtest/lib571.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c
index 40a78fa84..f19b643ff 100644
--- a/tests/libtest/lib571.c
+++ b/tests/libtest/lib571.c
@@ -56,7 +56,7 @@ static size_t rtp_write(void *ptr, size_t size, size_t nmemb, void *stream)
int channel = RTP_PKT_CHANNEL(data);
int message_size;
int coded_size = RTP_PKT_LENGTH(data);
- size_t failure = (size * nmemb) ? 0 : 1;
+ size_t failure = (size && nmemb) ? 0 : 1;
int i;
(void)stream;