summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-17 08:25:11 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-10-17 14:37:22 -0400
commit1d197aa10d020a377c4cd4993a6a2a24743544e3 (patch)
treef6a186bdc27762ff01e64b94b13af824a0d6af1c
parentf63a39c15b7fc30dd87031227a797808ff6a760e (diff)
downloadsssd-1d197aa10d020a377c4cd4993a6a2a24743544e3.tar.gz
sssd-1d197aa10d020a377c4cd4993a6a2a24743544e3.tar.xz
sssd-1d197aa10d020a377c4cd4993a6a2a24743544e3.zip
MONITOR: fix timeout conversion
-rw-r--r--src/monitor/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 9fb277e3b..1b7f87a94 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -2185,7 +2185,7 @@ static int service_send_ping(struct mt_svc *svc)
}
ret = sbus_conn_send(svc->conn, msg,
- svc->ping_time,
+ svc->ping_time * 1000, /* milliseconds */
ping_check, svc, NULL);
dbus_message_unref(msg);
return ret;