Fix a typo pointed out by outtolunc, thanks :)
authorRussell Bryant <russell@russellbryant.com>
Tue, 13 Nov 2007 20:56:32 +0000 (20:56 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 13 Nov 2007 20:56:32 +0000 (20:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index c29ff25..d3235e5 100644 (file)
@@ -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);