[gnome-online-miners] media-server: NULL-terminate the filter array
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-miners] media-server: NULL-terminate the filter array
- Date: Thu, 28 Aug 2014 00:45:22 +0000 (UTC)
commit e1bdbcff9b2a5da7ba03126ca2d5713c77fad37a
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Aug 28 01:31:26 2014 +0200
media-server: NULL-terminate the filter array
https://bugzilla.gnome.org/show_bug.cgi?id=728912
src/gom-dlna-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gom-dlna-server.c b/src/gom-dlna-server.c
index d13bf68..240cd2b 100644
--- a/src/gom-dlna-server.c
+++ b/src/gom-dlna-server.c
@@ -286,7 +286,7 @@ gom_dlna_server_search_objects (GomDlnaServer *self, GError **error)
GomDlnaServerPrivate *priv = self->priv;
GVariant *out = NULL;
gchar *query = g_strdup_printf ("Type = \"image.photo\"");
- const gchar const *filter[] = {"DisplayName", "URLs", "Path", "MIMEType"};
+ const gchar const *filter[] = {"DisplayName", "URLs", "Path", "MIMEType", NULL};
upnp_media_container2_call_search_objects_sync (priv->container,
query,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]