diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-07-27 17:44:27 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-07-27 17:44:27 +0200 |
commit | bbddc1e584dd01b60042f622f8cecfc69361020b (patch) | |
tree | 35b8122ddb62325ee519ed45e3658cbf13e68bca /bindings/media/media-rygel.c | |
parent | 1ea6bd0f466a10d29f12801aa35fb6d2b30443a1 (diff) |
fix unexpected ending spaces
Change-Id: Ie7ebccb02b42e91457df3bdbf2a6f037b248400e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/media/media-rygel.c')
-rw-r--r-- | bindings/media/media-rygel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/media/media-rygel.c b/bindings/media/media-rygel.c index 00327795..38a8a442 100644 --- a/bindings/media/media-rygel.c +++ b/bindings/media/media-rygel.c @@ -146,7 +146,7 @@ json_object* _rygel_list (mediaCtxHandleT *ctx) { json_object_object_add (json_i, "title", json_title); json_object_array_add (json_a, json_i); - free (id); free (title); + free (id); free (title); i++; } @@ -549,7 +549,7 @@ static void _rygel_content_cb (GUPnPServiceProxy *content_dir, GUPnPServiceProxy return; if (number_returned == 1) { - found = strstr (result, "id=\""); + found = strstr (result, "id=\""); found += 4; strncpy (subid, found, 32); subid[32] = '\0'; |