]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
big enough buffer for the whole message for our debug
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 May 2007 21:15:38 +0000 (21:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 May 2007 21:15:38 +0000 (21:15 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@120 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/zap_isdn.c

index e1f59d45655864353d49239874224cf0dd76c61b..d952aa3418bd3a227de5d15e8d3800214854fa63 100644 (file)
@@ -93,7 +93,7 @@ static int zap_isdn_921_21(void *pvt, L2UCHAR *msg, L2INT mlen)
        zap_span_t *span = (zap_span_t *) pvt;
        zap_size_t len = (zap_size_t) mlen;
 #ifdef IODEBUG
-       char bb[512] = "";
+       char bb[4096] = "";
        print_bits(msg, (int)len, bb, sizeof(bb), 1);
        zap_log(ZAP_LOG_DEBUG, "WRITE %d\n%s\n%s\n\n", (int)len, LINE, bb);
 
@@ -144,7 +144,7 @@ static void *zap_isdn_run(zap_thread_t *me, void *obj)
                                        len = sizeof(buf);
                                        if (zap_channel_read(data->dchan, buf, &len) == ZAP_SUCCESS) {
 #ifdef IODEBUG
-                                               char bb[512] = "";
+                                               char bb[4096] = "";
                                                print_bits(buf, (int)len, bb, sizeof(bb), 1);
                                                zap_log(ZAP_LOG_DEBUG, "READ %d\n%s\n%s\n\n", (int)len, LINE, bb);
 #endif