[asterisk-users] Uninitialized variable in main/pbx.c?

Steve Edwards asterisk.org at sedwards.com
Wed Jan 23 21:00:23 CST 2013


On Wed, 23 Jan 2013, Richard Kenner wrote:

> +               dst_exten[0] = '\0';

Is this 'construct' prefered over

 		dst_exten[0] = 0;
 	or
 		*dst_exten = 0;

and why?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list