diff options
author | dbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 17:41:05 +0000 |
---|---|---|
committer | dbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 17:41:05 +0000 |
commit | 2ed50bc1bf7edfa3bcb909e9edf40e4e0a4f183a (patch) | |
tree | 6f3964d5cc1866b2d523b985fa2658b8e0917c61 /main/utils.c | |
parent | 086dbcf9b53eb39d59eed97f6dbc6b83794cec7e (diff) |
Merged revisions 177035 manually from
https://origsvn.digium.com/svn/asterisk/trunk
........
r177035 | dbailey | 2009-02-18 11:24:07 -0600 (Wed, 18 Feb 2009) | 2 lines
Fixed error where a check for an zero length, terminated string was needed.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@177039 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c index d117174f6..0b96d8b88 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1263,7 +1263,7 @@ void __ast_string_field_index_build_va(struct ast_string_field_mgr *mgr, otherwise, use the empty space at the end of the current pool */ - if (fields[index][0] != '0') { + if (fields[index][0] != '\0') { target = (char *) fields[index]; available = strlen(fields[index]) + 1; } else { |