From 799fc3b99fa19e74499b691ab7bd7fd00117b4cf Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Tue, 13 Nov 2007 20:56:32 +0000
Subject: [PATCH] Fix a typo pointed out by outtolunc, thanks :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 res/res_features.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
GitLab