]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
LIBDING-10
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 7 Dec 2008 22:11:34 +0000 (22:11 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 7 Dec 2008 22:11:34 +0000 (22:11 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10646 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libdingaling/src/libdingaling.c

index dc2376ef2f4928d75f4be0d0c445f3bf24d8fc66..215eb5dc98ac71412a335e740ea50fc99b965747 100644 (file)
@@ -1177,7 +1177,7 @@ static int on_stream(ldl_handle_t *handle, int type, iks *node)
                }
                break;
        case IKS_NODE_NORMAL:
-        if (node && strcmp("stream:features", iks_name_nons(node)) == 0) {
+        if (node && strcmp("stream:features", iks_name(node)) == 0) {
                        handle->features = iks_stream_features(node);
                        if (ldl_test_flag(handle, LDL_FLAG_TLS) && !iks_is_secure(handle->parser))
                                break;