changeset 421:fcd65ebc7c43

Parse incoming answers
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 23 Jun 2009 16:09:21 +0900
parents 7de6e87d752e
children f7f89575faef
files waaad/dispatch.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/dispatch.c	Tue Jun 23 14:39:02 2009 +0900
+++ b/waaad/dispatch.c	Tue Jun 23 16:09:21 2009 +0900
@@ -161,6 +161,8 @@
 			
 			/* If a callback was registered, pass the message to it */
 			if (anscb != NULL) {
+				(void)msg_parse_dict(msg); /* This may help the callback function */
+				
 				TRACE_DEBUG(FULL, "Calling callback registered when query was sent (%p, %p)", anscb, data);
 				(*anscb)(data, &msg);
 				
"Welcome to our mercurial repository"