aboutsummaryrefslogtreecommitdiffstats
path: root/cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdr.c')
-rwxr-xr-xcdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr.c b/cdr.c
index a6b2ce505..f65a516fa 100755
--- a/cdr.c
+++ b/cdr.c
@@ -179,7 +179,7 @@ static const char *ast_cdr_getvar_internal(struct ast_cdr *cdr, const char *name
struct ast_var_t *variables;
struct varshead *headp;
- if (!name || ast_strlen_zero(name))
+ if (ast_strlen_zero(name))
return NULL;
while (cdr) {