diff options
author | defanor <defanor@uberspace.net> | 2021-09-24 17:04:49 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-09-24 17:04:49 +0300 |
commit | 8021dfe24fc44c7a1adbcf8bd49c48e488e8ba2c (patch) | |
tree | f201b26dcf46f856a797ff52a9cbf1a09828d4d1 /src/rexmpp_roster.c | |
parent | 6fce0156861461cf35222b048e422db61898bb80 (diff) |
Pass user-provided pointers to <iq> callback functions
Diffstat (limited to 'src/rexmpp_roster.c')
-rw-r--r-- | src/rexmpp_roster.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rexmpp_roster.c b/src/rexmpp_roster.c index 5012282..63a52b9 100644 --- a/src/rexmpp_roster.c +++ b/src/rexmpp_roster.c @@ -138,10 +138,12 @@ void rexmpp_roster_cache_write (rexmpp_t *s) { } void rexmpp_iq_roster_get (rexmpp_t *s, + void *ptr, xmlNodePtr req, xmlNodePtr response, int success) { + (void)ptr; (void)req; /* Nothing interesting in the request. */ if (! success) { rexmpp_log(s, LOG_ERR, "Roster loading failed."); |