[Asterisk-Dev] LOCAL_USER cleanup update
    Luigi Rizzo 
    rizzo at icir.org
       
    Wed Jan 11 08:32:39 MST 2006
    
    
  
On Wed, Jan 11, 2006 at 07:17:50AM -0800, Luigi Rizzo wrote:
...
> Actually, i suspect that the lifetime of the above info is
> limited to a single execution of app_exec, so probably one does
> not even need to calloc() the structure, but could just have it
> as an automatic variable in app_exec():
> 
> 	struct ivr_localuser foo, *u = foo; /* use *u to minimize diffs */
typo above, should read
	struct ivr_localuser foo, *u = &foo; /* use *u to minimize diffs */
cheers
luigi
    
    
More information about the asterisk-dev
mailing list