mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
getting closer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@111 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -1153,7 +1153,7 @@ uint32_t zap_separate_string(char *buf, char delim, char **array, int arraylen)
|
||||
|
||||
void print_bits(uint8_t *b, int bl, char *buf, int blen, int e)
|
||||
{
|
||||
int i,j = 0,k;
|
||||
int i,j = 0, k, l = 0;
|
||||
|
||||
if (blen < (bl * 10) + 2) {
|
||||
return;
|
||||
@@ -1171,7 +1171,11 @@ void print_bits(uint8_t *b, int bl, char *buf, int blen, int e)
|
||||
}
|
||||
}
|
||||
buf[j++] = ']';
|
||||
buf[j++] = '\n';
|
||||
buf[j++] = ' ';
|
||||
if (++l == 6) {
|
||||
buf[j++] = '\n';
|
||||
l = 0;
|
||||
}
|
||||
}
|
||||
|
||||
buf[j++] = '\0';
|
||||
|
Reference in New Issue
Block a user