[asterisk-dev] struct state_change

Philipp Kempgen philipp.kempgen at amooma.de
Wed Apr 4 20:04:22 MST 2007


Kevin P. Fleming wrote:
> 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.

OK. Thanks. :)

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-dev mailing list