summaryrefslogtreecommitdiffstats
path: root/ext/nas/nassink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/nas/nassink.c')
-rw-r--r--ext/nas/nassink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index e2d91d18..6f5a003e 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -287,9 +287,9 @@ gst_nas_sink_set_property (GObject * object, guint prop_id,
g_free (nassink->host);
nassink->host = g_value_dup_string (value);
if (nassink->host == NULL)
- nassink->host = g_strdup (getenv ("AUDIOSERVER"));
+ nassink->host = g_strdup (g_getenv ("AUDIOSERVER"));
if (nassink->host == NULL)
- nassink->host = g_strdup (getenv ("DISPLAY"));
+ nassink->host = g_strdup (g_getenv ("DISPLAY"));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);