summaryrefslogtreecommitdiffstats
path: root/polyp/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/sink.c')
-rw-r--r--polyp/sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/sink.c b/polyp/sink.c
index 20fa76a6..c2c873c6 100644
--- a/polyp/sink.c
+++ b/polyp/sink.c
@@ -41,7 +41,7 @@ struct pa_sink* pa_sink_new(struct pa_core *core, const char *name, int fail, co
char *n = NULL;
char st[256];
int r;
- assert(core && name && spec);
+ assert(core && name && *name && spec);
s = malloc(sizeof(struct pa_sink));
assert(s);