diff options
author | Michael Smith <msmith@xiph.org> | 2008-11-21 18:26:14 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2008-11-21 18:26:14 +0000 |
commit | 42c08ab20fab4ddfbf085c0fb3f4250fc607263c (patch) | |
tree | dd8822928d089f535ce29838b6d6ae97e4de70f3 /plugins | |
parent | c0e491cdcac5cfb76701bc8a8066284ac1824443 (diff) |
plugins/elements/gstfilesrc.c: Check for localhost in URI was backwards, fix it. Fixes unit test.
Original commit message from CVS:
* plugins/elements/gstfilesrc.c:
Check for localhost in URI was backwards, fix it. Fixes unit test.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gstfilesrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 6d63152f5f..d9bc69990e 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -1120,7 +1120,7 @@ gst_file_src_uri_set_uri (GstURIHandler * handler, const gchar * uri) } if (hostname) { - if (!strcmp (hostname, "localhost")) { + if (strcmp (hostname, "localhost")) { /* Only 'localhost' is permitted */ GST_WARNING_OBJECT (src, "Invalid hostname '%s' for filesrc", hostname); g_free (hostname); |