# HG changeset patch # User Sebastien Decugis # Date 1245827184 -32400 # Node ID 5e793a4e24505e9612b5d382ab49d6da9b92e04d # Parent 5d5401f6d96563a55763c6f698d7bf5c4543ebd1 Fix informational parsing of incoming answers diff -r 5d5401f6d965 -r 5e793a4e2450 waaad/dispatch.c --- a/waaad/dispatch.c Wed Jun 24 15:55:14 2009 +0900 +++ b/waaad/dispatch.c Wed Jun 24 16:06:24 2009 +0900 @@ -161,7 +161,7 @@ /* If a callback was registered, pass the message to it */ if (anscb != NULL) { - (void)msg_parse_dict(msg); /* This may help the callback function */ + CHECK_FCT_DO( msg_parse_dict_avp((msg_avp_t *)msg), /* Ignore error */); /* This may help the callback function */ TRACE_DEBUG(FULL, "Calling callback registered when query was sent (%p, %p)", anscb, data); (*anscb)(data, &msg);