Missing field terminator

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-09-05 17:23:50 +00:00
parent 4a7947501e
commit bfef0a23ff

View File

@@ -310,6 +310,7 @@ static int acf_odbc_read(struct ast_channel *chan, char *cmd, char *s, char *buf
} }
buf[buflen - 1] = ','; buf[buflen - 1] = ',';
buf[buflen] = '\0';
} }
/* Trim trailing comma */ /* Trim trailing comma */
buf[buflen - 1] = '\0'; buf[buflen - 1] = '\0';