[asterisk-dev] ast_load_realtime error vs not found

Norman Franke Norman at myASD.com
Mon Jul 16 10:09:29 CDT 2007


I'd like to detect whether ast_load_realtime returns an error vs just  
didn't find the record in question. Both conditions return NULL.

I could, I guess, perform a query that I know will succeed upon  
getting a NULL back, but that seems inelegant.

Norman Franke
myASD.com





More information about the asterisk-dev mailing list