comparison libfdcore/messages.c @ 924:877592751fee

Fix (tentative) for invalid handling of sessions fast creation/destruction as pointed by Yusuke Okura -- http://lists.freediameter.net/pipermail/help/2013-February/000584.html and http://lists.freediameter.net/pipermail/help/2013-February/000589.html -- Thank you very much
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 14 Feb 2013 17:52:57 +0100
parents 0a46772fad5d
children 5053f1abcf5d
comparison
equal deleted inserted replaced
923:6a4d08e239bd 924:877592751fee
155 val.os.len = sidlen; 155 val.os.len = sidlen;
156 CHECK_FCT( fd_msg_avp_setvalue( avp, &val ) ); 156 CHECK_FCT( fd_msg_avp_setvalue( avp, &val ) );
157 157
158 /* Add it to the message */ 158 /* Add it to the message */
159 CHECK_FCT( fd_msg_avp_add( msg, MSG_BRW_FIRST_CHILD, avp ) ); 159 CHECK_FCT( fd_msg_avp_add( msg, MSG_BRW_FIRST_CHILD, avp ) );
160
161 /* Save the session associated with the message */
162 CHECK_FCT( fd_msg_sess_set( msg, sess) );
160 163
161 /* Done! */ 164 /* Done! */
162 return 0; 165 return 0;
163 } 166 }
164 167
"Welcome to our mercurial repository"