Navigation


Changeset 1027:0117a7746b21 in freeDiameter for extensions/app_radgw/rgwx_sip.c


Ignore:
Timestamp:
Apr 15, 2013, 4:17:07 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of errors and warnings introduced/highlighted by recent commits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_sip.c

    r996 r1027  
    366366                                if (attr->length>sizeof(struct radius_attr_hdr))
    367367                                {
    368                                         TRACE_DEBUG(ANNOYING, "Found a User-Name attribute: '%.*s'", attr->length- sizeof(struct radius_attr_hdr), (char *)(attr+1));
     368                                        TRACE_DEBUG(ANNOYING, "Found a User-Name attribute: '%.*s'", (int)(attr->length- sizeof(struct radius_attr_hdr)), (char *)(attr+1));
    369369                                        un = (os0_t)(attr + 1);
    370370                                        un_len =attr->length - sizeof(struct radius_attr_hdr);
     
    802802                        (*rad_fw)->hdr->code = RADIUS_CODE_ACCESS_REJECT;
    803803                        fd_log_debug("[sip.rgwx] Received Diameter answer with error code '%d', session %.*s, translating into Access-Reject",
    804                                         ahdr->avp_value->u32, sidlen, sid);
     804                                        ahdr->avp_value->u32, (int)sidlen, sid);
    805805                        return 0;
    806806        }
Note: See TracChangeset for help on using the changeset viewer.