[Telepathy-commits] [telepathy-salut/master] check-gibber-sasl-auth.c: workaround missing g_set_error_literal

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 8 06:20:01 PST 2008


---
 tests/check-gibber-sasl-auth.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/check-gibber-sasl-auth.c b/tests/check-gibber-sasl-auth.c
index 2be82c2..064f9d9 100644
--- a/tests/check-gibber-sasl-auth.c
+++ b/tests/check-gibber-sasl-auth.c
@@ -33,9 +33,9 @@ test_t *current_test = NULL;
 GError *error = NULL;
 
 static void
-got_error (GQuark domain, int code, gchar *message)
+got_error (GQuark domain, int code, const gchar *message)
 {
-  g_set_error (&error, domain, code, message);
+  g_set_error (&error, domain, code, "%s", message);
   run_done = TRUE;
   g_main_loop_quit (mainloop);
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list