Navigation


Changeset 1052:b3d623f04b6d in freeDiameter for extensions/app_diameap


Ignore:
Timestamp:
Apr 24, 2013, 1:49:00 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of remaining compilation warnings

Location:
extensions/app_diameap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/diameap_eap.c

    r1027 r1052  
    452452                                                        &eap_i->aaaEapEMSKData, &eap_i->aaaEapEMSKLength))
    453453                                        {
    454                                                 TRACE_DEBUG(INFO,"%s[EAP Protocol] Generating EAP Master Key failed.",DIAMEAP_EXTENSION,eap_sm->selectedMethod->methodname)
     454                                                TRACE_DEBUG(INFO,"%s[EAP Protocol] [%s plugin] Generating EAP Master Key failed.",DIAMEAP_EXTENSION,eap_sm->selectedMethod->methodname)
    455455                                                eap_i->aaaEapMSKLength = 0;
    456456                                                eap_i->aaaEapEMSKLength = 0;
     
    476476                                        &eap_sm->currentVendor))
    477477                        {
    478                                 TRACE_DEBUG(INFO,"%s[EAP Protocol] Selecting EAP Method plugin failed.",DIAMEAP_EXTENSION,eap_sm->selectedMethod->methodname);
     478                                TRACE_DEBUG(INFO,"%s[EAP Protocol] [%s plugin] Selecting EAP Method plugin failed.",DIAMEAP_EXTENSION,eap_sm->selectedMethod->methodname);
    479479
    480480                                *non_fatal_error = TRUE;
  • extensions/app_diameap/diameap_plugins.c

    r1027 r1052  
    130130                {
    131131                        TRACE_DEBUG(INFO,
    132                                         "%s[%s plugin] Unable to register EAP method.",DIAMEAP_EXTENSION,
     132                                        "%s[%s plugin] Unable to register EAP method: %s.",DIAMEAP_EXTENSION,
    133133                                        plugin->methodname, dlerror());
    134134                        return EINVAL;
  • extensions/app_diameap/diameap_tls.h

    r1034 r1052  
    4040#define DIAMEAP_TLS_H_
    4141
    42  #if defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405
     42#if defined(__GNUC__)
    4343# define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x)
    4444# define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x)
    45 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
     45# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406         /* 4.6.x */
    4646#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
    4747     GCC_DIAG_PRAGMA(ignored x)
    4848#  define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
    49 # else
     49# else                                                  /* older */
    5050#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored x)
    5151#  define GCC_DIAG_ON(x)  GCC_DIAG_PRAGMA(warning x)
Note: See TracChangeset for help on using the changeset viewer.