<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I didn't know of the ast_verb() wrapper for 1.6, which is a good thing.
Thanks for the follow-up.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
PBX: (+57 1)6500800 ext. 1201
Fax: (+57 1)6500816
Móvil: (+57)3138873587
</pre>
<br>
<br>
Jason Parker escribió:
<blockquote cite="mid:49370249.8020107@digium.com" type="cite">
<pre wrap="">Russell Bryant wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Julian Lyndon-Smith wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Not being a C programmer, but a lazy one, why doesn't the ast_verbose
function call check the current level and only output the message if the
current level is eq to or greater than the _prefix ?
This would remove the need to have
if (option_verbose > 2)
                ast_verbose(VERBOSE_PREFIX_3 ...
and only have
ast_verbose(VERBOSE_PREFIX_3 ...
I know speed must be a consideration, but isn't the difference in order
of microseconds ?
/me dons the heavy-duty flamesuit and awaits the derision of the -dev
list ...
</pre>
</blockquote>
<pre wrap="">That's why we have ast_verb() in trunk, which is just such a wrapper. :)
</pre>
</blockquote>
<pre wrap=""><!---->
And why this commit was blocked in trunk, since that message is using the
wrapper there.
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a>
</pre>
</blockquote>
</body>
</html>