summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-12-27 19:35:36 +0300
committerdefanor <defanor@uberspace.net>2023-12-27 19:35:36 +0300
commit595596d74a3c5029af65b91f5d908804c68d41c2 (patch)
tree4fe34e0d309de4fdfb99c4d17a8bdac167e2740d
parentb349a15d9221e1e9d6736eccb7357294399eb830 (diff)
Fix builds without Jingle calls
-rw-r--r--src/rexmpp_jingle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rexmpp_jingle.c b/src/rexmpp_jingle.c
index 3c73bc0..2b84445 100644
--- a/src/rexmpp_jingle.c
+++ b/src/rexmpp_jingle.c
@@ -1816,6 +1816,15 @@ rexmpp_jingle_call_accept (rexmpp_t *s,
}
#else /* ENABLE_CALLS */
+ssize_t
+rexmpp_jingle_dtls_push_func (void *p, const void *data, size_t size)
+{
+ (void)p;
+ (void)data;
+ (void)size;
+ return -1;
+}
+
rexmpp_err_t
rexmpp_jingle_call (rexmpp_t *s,
const char *jid)