]> code.delx.au - pulseaudio/blobdiff - polyp/glib-mainloop.c
Merge Pierre's changes
[pulseaudio] / polyp / glib-mainloop.c
index 809c0b0fb88f6981ce22e50ac31879bc398e1311..0f96a594efdd7ae8c8fa9143f8f4bf19a2d6508b 100644 (file)
@@ -241,7 +241,7 @@ static void glib_time_restart(struct pa_time_event*e, const struct timeval *tv)
     struct timeval now;
     assert(e && e->mainloop && !e->dead);
 
-    gettimeofday(&now, NULL);
+    pa_gettimeofday(&now);
     if (e->source) {
         g_source_destroy(e->source);
         g_source_unref(e->source);