[asterisk-dev] struct state_change

Kevin P. Fleming kpfleming at digium.com
Wed Apr 4 19:54:52 MST 2007

Philipp Kempgen wrote:

> shouldn't that be
> 	char device[AST_MAX_EXTENSION];
> or something?

No. Look at the call to ast_calloc() or ast_malloc() that allocates the
structure and you will see that we allocate enough space for the string
we plan to put there.

More information about the asterisk-dev mailing list