[gnome-online-accounts] Fix compilation with -Werror=format-security



commit d5d229529c498ab8b19c29080dd79930fd353d93
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Tue Feb 5 17:09:53 2013 +0000

    Fix compilation with -Werror=format-security
    
    Reviewed-by: Debarshi Ray <debarshir gnome org>
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=693214

 src/goabackend/goautils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goautils.c b/src/goabackend/goautils.c
index 398b2ed..2a3260f 100644
--- a/src/goabackend/goautils.c
+++ b/src/goabackend/goautils.c
@@ -503,5 +503,5 @@ goa_utils_set_error_ssl (GError **err, GTlsCertificateFlags flags)
       break;
     }
 
-  g_set_error (err, GOA_ERROR, GOA_ERROR_SSL, error_msg);
+  g_set_error_literal (err, GOA_ERROR, GOA_ERROR_SSL, error_msg);
 }



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