changeset 1702:cecf5f34a671

Oops, one argument for tuple_get_string() was missing, fixed. Pointed out by majeru.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Sep 2007 02:28:47 +0300
parents c4e63a2d85aa
children 6f939852584b b9eca7b33811
files src/mtp_up/mtp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mtp_up/mtp.c	Tue Sep 11 02:15:04 2007 +0300
+++ b/src/mtp_up/mtp.c	Tue Sep 11 02:28:47 2007 +0300
@@ -135,7 +135,7 @@
     uint32_t parent_id = 0;
     struct stat sb;
 
-    from_path = g_strdup_printf("%s/%s", tuple_get_string(from_tuple, FIELD_FILE_PATH, NULL), tuple_get_string(from_tuple, FIELD_FILE_NAME));
+    from_path = g_strdup_printf("%s/%s", tuple_get_string(from_tuple, FIELD_FILE_PATH, NULL), tuple_get_string(from_tuple, FIELD_FILE_NAME, NULL));
     gchar *tmp;
     tmp = g_strescape(from_path,NULL);
     filename=g_filename_from_uri(tmp,NULL,NULL);