diff options
author | 2019-02-10 13:34:22 +0100 | |
---|---|---|
committer | 2019-02-10 14:23:51 +0100 | |
commit | 1ac41cb08281bf5460dfea5fc40ff6f8e14873a1 (patch) | |
tree | 3926983e45afa7e805cca1429fc3452c57a5b6c3 /hicn-light/src/core/mapMe.c | |
parent | 13ec18b4b3ec8455daad674a0c0e616885b83608 (diff) |
[HICN-49] Remove warnings hicn-light on windows
Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/core/mapMe.c')
-rw-r--r-- | hicn-light/src/core/mapMe.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hicn-light/src/core/mapMe.c b/hicn-light/src/core/mapMe.c index 16e631c0f..d5ed08bfb 100644 --- a/hicn-light/src/core/mapMe.c +++ b/hicn-light/src/core/mapMe.c @@ -65,8 +65,7 @@ #define WARN(mapme, fmt, ...) \ LOG(mapme, PARCLogLevel_Warning, fmt, ##__VA_ARGS__) -#define ERROR(mapme, fmt, ...) \ - LOG(mapme, PARCLogLevel_Error, fmt, ##__VA_ARGS__) +#define ERR(mapme, fmt, ...) LOG(mapme, PARCLogLevel_Error, fmt, ##__VA_ARGS__) #define INFO(mapme, fmt, ...) LOG(mapme, PARCLogLevel_Info, fmt, ##__VA_ARGS__) #define DEBUG(mapme, fmt, ...) \ LOG(mapme, PARCLogLevel_Debug, fmt, ##__VA_ARGS__) @@ -234,14 +233,14 @@ static Message *mapMe_createMessage(const MapMe *mapme, const Name *name, hicn_prefix_t prefix; int rc = hicn_prefix_from_name(name, &prefix); if (rc < 0) { - ERROR(mapme, "[MAP-Me] Failed to create lib's name"); + ERR(mapme, "[MAP-Me] Failed to create lib's name"); goto ERR_NAME; } INFO(mapme, "[MAP-Me] Creating MAP-Me packet"); size_t len = hicn_mapme_create_packet(icmp_pkt, &prefix, params); if (len != 0) { - ERROR(mapme, "[MAP-Me] Failed to create mapme packet through lib"); + ERR(mapme, "[MAP-Me] Failed to create mapme packet through lib"); goto ERR_CREATE; } @@ -268,7 +267,7 @@ static Message *mapMe_createAckMessage(const MapMe *mapme, size_t len = hicn_mapme_create_ack(icmp_pkt, params); if (len != size) { - ERROR(mapme, "[MAP-Me] Failed to create mapme ack packet through lib"); + ERR(mapme, "[MAP-Me] Failed to create mapme ack packet through lib"); return NULL; } |