projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b253a5
)
use dbus provided wait function
author
Ralf Habacker
<ralf.habacker@freenet.de>
Mon, 30 Nov 2009 14:59:40 +0000
(15:59 +0100)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Mon, 30 Nov 2009 15:00:20 +0000
(16:00 +0100)
test/test-service.c
patch
|
blob
|
history
diff --git
a/test/test-service.c
b/test/test-service.c
index
ee0086c
..
c9f5839
100644
(file)
--- a/
test/test-service.c
+++ b/
test/test-service.c
@@
-1,6
+1,8
@@
#include "test-utils.h"
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
static DBusLoop *loop;
static dbus_bool_t already_quit = FALSE;
@@
-234,7
+236,7
@@
handle_delay_echo (DBusConnection *connection,
_dbus_verbose ("sleeping for a short time\n");
-
usleep (5000
0);
+
_dbus_sleep_milliseconds (5
0);
_dbus_verbose ("sending reply to DelayEcho method\n");