From: Russell Bryant Date: Tue, 13 Nov 2007 20:56:32 +0000 (+0000) Subject: Fix a typo pointed out by outtolunc, thanks :) X-Git-Tag: 1.6.0-beta1~3^2~896 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=799fc3b99fa19e74499b691ab7bd7fd00117b4cf;p=thirdparty%2Fasterisk.git Fix a typo pointed out by outtolunc, thanks :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89252 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_features.c b/res/res_features.c index c29ff25c18..d3235e5924 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -2260,7 +2260,7 @@ static int park_exec(struct ast_channel *chan, void *data) u = ast_module_user_add(chan); - if (park) + if (data) park = atoi((char *)data); AST_LIST_LOCK(&parkinglot);