summaryrefslogtreecommitdiff
path: root/openbox/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/ping.c')
-rw-r--r--openbox/ping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/ping.c b/openbox/ping.c
index d8c10c83..687dd7f4 100644
--- a/openbox/ping.c
+++ b/openbox/ping.c
@@ -48,6 +48,8 @@ void ping_start(struct _ObClient *client, ObPingEventHandler h)
GSList *it;
ObPingTarget *t;
+ g_assert(client->ping == TRUE);
+
/* make sure we're not already pinging it */
for (it = ping_targets; it != NULL; it = g_slist_next(it)) {
t = it->data;