[telepathy-stream-engine/master] Fix compilation

Olivier Crête olivier.crete at collabora.co.uk
Wed Dec 16 11:10:44 PST 2009


---
 src/stream-engine-main.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/stream-engine-main.c b/src/stream-engine-main.c
index 8de49b2..5505345 100644
--- a/src/stream-engine-main.c
+++ b/src/stream-engine-main.c
@@ -162,7 +162,7 @@ dsp_crashed (gpointer dummy)
 #endif
 
 static gboolean
-dump_dot_file(gpointer data)
+dump_dot_file (gpointer data G_GNUC_UNUSED)
 {
   TpStreamEngine *engine = tp_stream_engine_get ();
   GstElement *pipeline = NULL;
@@ -224,10 +224,10 @@ int main(int argc, char **argv)
   uid = getuid();
   if (uid != 0 && geteuid() == 0) {
     gint ret;
-    ret = setresuid(uid, uid, uid)
-    g_assert(ret >= 0);
-    g_assert(getuid() == uid);
-    g_assert(geteuid() == uid);
+    ret = setresuid(uid, uid, uid);
+    g_assert (ret >= 0);
+    g_assert (getuid() == uid);
+    g_assert (geteuid() == uid);
   }
 
 #endif
-- 
1.5.6.5




More information about the telepathy-commits mailing list