Fix a bug I noticed while doing the previous merge
authorSean Bright <sean@malleable.com>
Wed, 2 Jul 2008 14:30:09 +0000 (14:30 +0000)
committerSean Bright <sean@malleable.com>
Wed, 2 Jul 2008 14:30:09 +0000 (14:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127398 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_tds.c

index 9688c16..8654c80 100644 (file)
@@ -228,7 +228,7 @@ done:
        ast_free(lastdata);
        ast_free(uniqueid);
 
-       return 0;
+       return res;
 }
 
 static char *anti_injection(const char *str, int len)