diff options
Diffstat (limited to 'gisi')
-rw-r--r-- | gisi/client.h | 3 | ||||
-rw-r--r-- | gisi/verify.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gisi/client.h b/gisi/client.h index d0c0c4b5..683d284a 100644 --- a/gisi/client.h +++ b/gisi/client.h @@ -38,7 +38,8 @@ typedef struct _GIsiClient GIsiClient; struct _GIsiRequest; typedef struct _GIsiRequest GIsiRequest; -typedef void (*GIsiVerifyFunc)(GIsiClient *client, bool alive, void *opaque); +typedef void (*GIsiVerifyFunc)(GIsiClient *client, bool alive, + uint16_t object, void *opaque); typedef bool (*GIsiResponseFunc)(GIsiClient *client, const void *restrict data, size_t len, diff --git a/gisi/verify.c b/gisi/verify.c index c40ea770..7958a335 100644 --- a/gisi/verify.c +++ b/gisi/verify.c @@ -71,7 +71,7 @@ static bool verify_cb(GIsiClient *client, const void *restrict data, out: if (func) - func(client, alive, vd->data); + func(client, alive, object, vd->data); g_free(vd); return true; } |