summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/rtp/sap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/rtp/sap.c b/src/modules/rtp/sap.c
index f61c0efe..a6e92187 100644
--- a/src/modules/rtp/sap.c
+++ b/src/modules/rtp/sap.c
@@ -144,9 +144,6 @@ int pa_sap_recv(pa_sap_context *c, int *goodbye) {
goto fail;
}
- if (!size)
- return 0;
-
buf = pa_xnew(char, size+1);
buf[size] = 0;