[Asterisk-cvs] asterisk/apps app_enumlookup.c,1.20,1.21
russell
russell
Mon Sep 26 16:56:46 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv22590/apps
Modified Files:
app_enumlookup.c
Log Message:
move variable declaration to the beginning of the function (issue #5299)
Index: app_enumlookup.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_enumlookup.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- app_enumlookup.c 14 Sep 2005 20:46:49 -0000 1.20
+++ app_enumlookup.c 26 Sep 2005 20:53:33 -0000 1.21
@@ -83,6 +83,7 @@
char tmp[256];
char *c,*t;
static int dep_warning=0;
+ struct localuser *u;
if (!dep_warning) {
ast_log(LOG_WARNING, "The application EnumLookup is deprecated. Please use the ENUMLOOKUP() function instead.\n");
@@ -91,8 +92,6 @@
tech[0] = '\0';
- struct localuser *u;
-
if (!data || ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "EnumLookup requires an argument (extension)\n");
res = 0;
More information about the svn-commits
mailing list