Oops, didn't compile (thanks, kpfleming)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-01-04 19:03:20 +00:00
parent f2a282ce17
commit c0eb48380a

View File

@@ -2156,7 +2156,8 @@ struct ast_variable *ast_load_realtime(const char *family, ...)
res = cur->next;
freeme = cur;
} else if (cur->value[0] == ' ' && cur->value[1] == '\0') {
cur->value[0] = '\0';
char *vptr = (char *) cur->value;
vptr[0] = '\0';
prev = cur;
} else {
prev = cur;