summaryrefslogtreecommitdiffstats
path: root/gisi/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'gisi/client.c')
-rw-r--r--gisi/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gisi/client.c b/gisi/client.c
index 03ed5ded..85e1fa78 100644
--- a/gisi/client.c
+++ b/gisi/client.c
@@ -66,11 +66,11 @@ static void pending_resp_notify(const GIsiMessage *msg, void *data)
if (pd == NULL)
return;
- if (pd->notify != NULL)
- pd->notify(msg, pd->data);
-
pd->client->pending = g_slist_remove(pd->client->pending,
g_isi_pending_from_msg(msg));
+
+ if (pd->notify != NULL)
+ pd->notify(msg, pd->data);
}
static void pending_notify(const GIsiMessage *msg, void *data)