Commit 2eb100bc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix typo causing gethostname() to fail

parent 15f6be5d
......@@ -193,7 +193,7 @@ pa_context *vlc_pa_connect (vlc_object_t *obj)
pw->pw_name);
char hostname[sysconf (_SC_HOST_NAME_MAX)];
if (gethostname (hostname, sizeof (hostname) == 0))
if (gethostname (hostname, sizeof (hostname)) == 0)
pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_HOST,
hostname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment