[Asterisk-Dev] [RFC] strncpy -> ast_copy_string

Kevin P. Fleming kpfleming at digium.com
Wed May 4 07:56:57 MST 2005


Alex Volkov wrote:

>    ast_copy_string(global_realm, v->value, sizeof(global_realm));
>    global_realm[sizeof(global_realm)-1] = '\0';

Got it, thanks!



More information about the asterisk-dev mailing list