]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add missing byte to dingaling
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 6 Apr 2006 23:31:01 +0000 (23:31 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 6 Apr 2006 23:31:01 +0000 (23:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1072 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libdingaling/src/libdingaling.c
src/mod/endpoints/mod_dingaling/mod_dingaling.c

index e17b9f4efe9ddc66b82f3853379511afbdea5d19..5a020916dd22267e13e57fdfa2597fb94ef300db 100644 (file)
@@ -1090,7 +1090,7 @@ ldl_status ldl_handle_init(ldl_handle_t **handle,
                new_handle->pool = pool;
                apr_queue_create(&new_handle->queue, LDL_HANDLE_QLEN, new_handle->pool);
                apr_queue_create(&new_handle->retry_queue, LDL_HANDLE_QLEN, new_handle->pool);
-               new_handle->features |= IKS_STREAM_BIND|IKS_STREAM_SESSION|IKS_STREAM_SASL_PLAIN;
+               new_handle->features |= IKS_STREAM_BIND|IKS_STREAM_SESSION |IKS_STREAM_SASL_PLAIN;
                new_handle->sessions = apr_hash_make(new_handle->pool);
                new_handle->retry_hash = apr_hash_make(new_handle->pool);
                new_handle->probe_hash = apr_hash_make(new_handle->pool);
index 4d0ad53e86f205e3f72aa59d625786380c4f813a..bce657566bf0c5f19272a1e6642dbf8d613c9356 100644 (file)
@@ -100,7 +100,7 @@ struct private_object {
        char *remote_ip;
        switch_port_t local_port;
        switch_port_t remote_port;
-       char local_user[16];
+       char local_user[17];
        char *remote_user;
        unsigned int cand_id;
        unsigned int desc_id;