Navigation


Changeset 979:b90cb4c07160 in freeDiameter for extensions/app_radgw/radius.c


Ignore:
Timestamp:
Mar 15, 2013, 2:45:03 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove more newlines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/radius.c

    r974 r979  
    328328        for (i = 0; i < msg->radius.attr_used; i++) {
    329329                struct radius_attr_hdr *attr = (struct radius_attr_hdr *)(msg->radius.buf + msg->radius.attr_pos[i]);
    330                 fd_log_debug("    - Type: 0x%02hhx (%s)\n       Len: %-3hhu", attr->type, rgw_msg_attrtype_str(attr->type), attr->length);
     330                fd_log_debug("    - Type: 0x%02hhx (%s)       Len: %-3hhu", attr->type, rgw_msg_attrtype_str(attr->type), attr->length);
    331331                radius_msg_dump_attr_val(attr);
    332332        }
     
    335335                for (i = msg->ps_first; i < msg->ps_first + msg->ps_nb; i++) {
    336336                        struct radius_attr_hdr *attr = (struct radius_attr_hdr *)(msg->radius.buf + msg->radius.attr_pos[i]);
    337                         fd_log_debug("    - Type: 0x%02hhx (%s)\n       Len: %-3hhu", attr->type, rgw_msg_attrtype_str(attr->type), attr->length);
     337                        fd_log_debug("    - Type: 0x%02hhx (%s)       Len: %-3hhu", attr->type, rgw_msg_attrtype_str(attr->type), attr->length);
    338338                        radius_msg_dump_attr_val(attr);
    339339                }
     
    355355                                           auth, MD5_MAC_LEN);
    356356                if (attr == NULL) {
    357                         printf("WARNING: Could not add "
    358                                "Message-Authenticator\n");
     357                        printf("WARNING: Could not add Message-Authenticator\n");
    359358                        return -1;
    360359                }
     
    693692                if (tmp->type == RADIUS_ATTR_MESSAGE_AUTHENTICATOR) {
    694693                        if (attr != NULL) {
    695                                 printf("Multiple Message-Authenticator "
    696                                        "attributes in RADIUS message\n");
     694                                printf("Multiple Message-Authenticator attributes in RADIUS message\n");
    697695                                return 1;
    698696                        }
Note: See TracChangeset for help on using the changeset viewer.