comparison libfdcore/p_dw.c @ 1119:79dd22145f52

Fix a number of compilation warnings
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 14 May 2013 11:04:20 +0800
parents 2091bf698fb1
children 1af09cc156d6
comparison
equal deleted inserted replaced
1118:5b4dddbfccb3 1119:79dd22145f52
48 /* Check the value is consistent with the saved one */ 48 /* Check the value is consistent with the saved one */
49 struct avp_hdr * hdr; 49 struct avp_hdr * hdr;
50 CHECK_FCT( fd_msg_avp_hdr( osi, &hdr ) ); 50 CHECK_FCT( fd_msg_avp_hdr( osi, &hdr ) );
51 if (hdr->avp_value == NULL) { 51 if (hdr->avp_value == NULL) {
52 /* This is a sanity check */ 52 /* This is a sanity check */
53 TRACE_DEBUG(NONE, "BUG: Unset value in Origin-State-Id in DWR / DWA"); 53 LOG_F("Ignored an Origin-State-Id AVP with unset value in DWR/DWA");
54 fd_msg_dump_one(NONE, osi);
55 ASSERT(0); /* To check if this really happens, and understand why... */ 54 ASSERT(0); /* To check if this really happens, and understand why... */
56 } 55 }
57 56
58 if (! peer->p_hdr.info.runtime.pir_orstate) { 57 if (! peer->p_hdr.info.runtime.pir_orstate) {
59 /* It was not already received in CER/CEA, save it now */ 58 /* It was not already received in CER/CEA, save it now */
"Welcome to our mercurial repository"