diff options
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 a19ed900f..8ed4a968a 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1598,7 +1598,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 { |