diff options
author | dbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 17:26:59 +0000 |
---|---|---|
committer | dbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 17:26:59 +0000 |
commit | 2f18cdd20f76bc6c1b7238115931f881649feb59 (patch) | |
tree | e1972b9f2f882d3fdcfd0608aada95c032023e67 | |
parent | 0fff6ed6fc38e4a07a9c6851737e42948e0688e3 (diff) |
Merged revisions 177035 via svnmerge 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.6.0@177038 f38db490-d61c-443f-a65b-d21fe96a405b
-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 66bf0ae50..10a95c130 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1491,7 +1491,7 @@ void __ast_string_field_ptr_build_va(struct ast_string_field_mgr *mgr, otherwise, use the empty space at the end of the current pool */ - if ((*ptr)[0] != '0') { + if ((*ptr)[0] != '\0') { target = (char *) *ptr; available = strlen(target) + 1; } else { |