summaryrefslogtreecommitdiff
path: root/src/modules/mixer
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-21 18:31:29 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-01-14 20:22:01 -0500
commit4c9123c9b49e5789d4cfd041401a7c01af83e8a1 (patch)
treedd84776420cc92bfefb6ac2a193c20878fc84a69 /src/modules/mixer
parent52329d170ee933601114bbdf70075580d4e1c77b (diff)
downloadenlightenment-4c9123c9b49e5789d4cfd041401a7c01af83e8a1.tar.gz
fix weird pulse crash when sink name is NULL (wtf?)
Diffstat (limited to 'src/modules/mixer')
-rw-r--r--src/modules/mixer/sys_pulse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mixer/sys_pulse.c b/src/modules/mixer/sys_pulse.c
index 2b050c4c84..74ab3e841c 100644
--- a/src/modules/mixer/sys_pulse.c
+++ b/src/modules/mixer/sys_pulse.c
@@ -250,7 +250,7 @@ _pulse_sink_find(const char *name)
const char *sink_name;
sink_name = pulse_sink_name_get(sink);
- if ((sink_name == name) || (!strcmp(sink_name, name)))
+ if ((sink_name == name) || (!e_util_strcmp(sink_name, name)))
return sink;
}
EINA_LIST_FOREACH(sources, l, sink)
@@ -258,7 +258,7 @@ _pulse_sink_find(const char *name)
const char *sink_name;
sink_name = pulse_sink_name_get(sink);
- if ((sink_name == name) || (!strcmp(sink_name, name)))
+ if ((sink_name == name) || (!e_util_strcmp(sink_name, name)))
return sink;
}
return NULL;