mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Whitespace fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
enum.c
4
enum.c
@@ -334,10 +334,10 @@ static int txt_callback(void *context, unsigned char *answer, int len, unsigned
|
|||||||
|
|
||||||
/* answer is not null-terminated, but should be */
|
/* answer is not null-terminated, but should be */
|
||||||
/* this is safe to do, as answer has extra bytes on the end we can
|
/* this is safe to do, as answer has extra bytes on the end we can
|
||||||
safely overwrite with a null */
|
* safely overwrite with a null */
|
||||||
answer[len] = '\0';
|
answer[len] = '\0';
|
||||||
/* now increment len so that len includes the null, so that we can
|
/* now increment len so that len includes the null, so that we can
|
||||||
compare apples to apples */
|
* compare apples to apples */
|
||||||
len +=1;
|
len +=1;
|
||||||
|
|
||||||
/* finally, copy the answer into c->txt */
|
/* finally, copy the answer into c->txt */
|
||||||
|
Reference in New Issue
Block a user