about summary refs log tree commit diff stats
path: root/src/xmpp/iq.c
diff options
context:
space:
mode:
authorDominik Heidler <dominik@heidler.eu>2017-06-19 15:07:47 +0200
committerMichael Vetter <jubalh@iodoru.org>2018-07-30 11:04:54 +0200
commit86a9ef7b5c89ab7830903b2c19a08e8174ecd0ca (patch)
tree1fd1ff58c3b295536924a32261814b9b00af3311 /src/xmpp/iq.c
parentd8027e609da91bc6bd7d874cf00d72e370974cef (diff)
downloadprofani-tty-86a9ef7b5c89ab7830903b2c19a08e8174ecd0ca.tar.gz
Use correct macro
XMPP_FEATURE_PING insted of STANZA_NS_PING
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r--src/xmpp/iq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 9bceb859..59cff0db 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -1088,8 +1088,8 @@ _autoping_timed_send(xmpp_conn_t *const conn, void *const userdata)
         return 1;
     }
 
-    if (connection_supports(STANZA_NS_PING) == FALSE) {
-        log_warning("Server doesn't advertise %s feature, disabling autoping.", STANZA_NS_PING);
+    if (connection_supports(XMPP_FEATURE_PING) == FALSE) {
+        log_warning("Server doesn't advertise %s feature, disabling autoping.", XMPP_FEATURE_PING);
         prefs_set_autoping(0);
         cons_show_error("Server ping not supported, autoping disabled.");
         xmpp_conn_t *conn = connection_get_conn();