[libsocialweb] fix to use format argument



commit 577ceaf7a056f1d1f5a2091d3d553c2f633858ea
Author: Hideki Yamane <henrich debian org>
Date:   Mon Mar 25 07:35:33 2013 +0900

    fix to use format argument
    
    Fix FTBFS in CFLAGS strict environment (i.e. Ubuntu raring)
    see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702111

 libsocialweb-client/sw-client-service.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libsocialweb-client/sw-client-service.c b/libsocialweb-client/sw-client-service.c
index 8bdbb82..7b4d52b 100644
--- a/libsocialweb-client/sw-client-service.c
+++ b/libsocialweb-client/sw-client-service.c
@@ -595,6 +595,7 @@ _upload_file_progress_cb (DBusGProxy *proxy,
                                          closure->userdata,
                                          SW_CLIENT_SERVICE_ERROR,
                                          0,
+                                        "%s",
                                          error_message);
     g_object_unref (closure->service);
     g_slice_free (SwClientServiceCallClosure, closure);
@@ -663,6 +664,7 @@ got_file_size_cb (GObject *source_object,
                                          closure->userdata,
                                          SW_CLIENT_SERVICE_ERROR,
                                          0,
+                                        "%s",
                                          info ? "File to upload is not a regular file" :
                                          "Could not get file size information for file");
     if (info)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]