make trunk build again. murf will have to review this to see if it was the right fix, as it is related to his last change.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Russell Bryant 18 years ago
parent b5cd67adc3
commit 8555b694ee

@ -636,8 +636,6 @@ int ast_variable_update(struct ast_category *category, const char *variable,
{
struct ast_variable *cur, *prev=NULL, *newer;
newer->object = object;
for (cur = category->root; cur; prev = cur, cur = cur->next) {
if (strcasecmp(cur->name, variable) ||
(!ast_strlen_zero(match) && strcasecmp(cur->value, match)))

Loading…
Cancel
Save