[Asterisk-cvs] asterisk pbx.c,1.234,1.235

kpfleming at lists.digium.com kpfleming at lists.digium.com
Sun May 1 19:02:30 CDT 2005


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv23405

Modified Files:
	pbx.c 
Log Message:
make verbosity of function registration match apps/manager events/etc.


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -d -r1.234 -r1.235
--- pbx.c	1 May 2005 18:37:37 -0000	1.234
+++ pbx.c	1 May 2005 23:09:28 -0000	1.235
@@ -1137,8 +1137,8 @@
 				} else {
 					acf_root = acf->next;
 				}
-				if (option_verbose)
-					ast_verbose(VERBOSE_PREFIX_1 "Unregistered custom function %s\n", acf->name);
+				if (option_verbose > 1)
+					ast_verbose(VERBOSE_PREFIX_2 "Unregistered custom function %s\n", acf->name);
 				return 0;
 			}
 			lastacf = acfptr;
@@ -1158,8 +1158,8 @@
 		}
 		acf->next = acf_root;
 		acf_root = acf;
-		if (option_verbose)
-			ast_verbose(VERBOSE_PREFIX_1 "Registered custom function %s\n", acf->name);
+		if (option_verbose > 1)
+			ast_verbose(VERBOSE_PREFIX_2 "Registered custom function %s\n", acf->name);
 		return 0;
 	}
 




More information about the svn-commits mailing list