From 687e2d7da5d55784bf0769774be7296254a08eba Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 5 Jan 2006 16:38:09 +0000 Subject: Abstract the gettimeofday call into a utility function to ease porting. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@366 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/socket-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polyp/socket-client.c') diff --git a/polyp/socket-client.c b/polyp/socket-client.c index 21563d35..f02b74bd 100644 --- a/polyp/socket-client.c +++ b/polyp/socket-client.c @@ -377,7 +377,7 @@ static void start_timeout(struct pa_socket_client *c) { assert(c); assert(!c->timeout_event); - gettimeofday(&tv, NULL); + pa_gettimeofday(&tv); pa_timeval_add(&tv, CONNECT_TIMEOUT * 1000000); c->timeout_event = c->mainloop->time_new(c->mainloop, &tv, timeout_cb, c); } -- cgit