From a202803c7628dd10e35ced5d86c92891c1e59b00 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Mon, 23 Feb 2009 17:43:38 -0500 Subject: [PATCH] Rename STUN_USAGE_ICE_RETURN_RETRY into STUN_USAGE_ICE_RETURN_INVALID --- stun/usages/ice.c | 6 +++--- stun/usages/ice.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stun/usages/ice.c b/stun/usages/ice.c index 380042b..594ee2b 100644 --- a/stun/usages/ice.c +++ b/stun/usages/ice.c @@ -107,13 +107,13 @@ StunUsageIceReturn stun_usage_ice_conncheck_process (StunMessage *msg, StunMessageReturn val; if (stun_message_get_method (msg) != STUN_BINDING) - return STUN_USAGE_ICE_RETURN_RETRY; + return STUN_USAGE_ICE_RETURN_INVALID; switch (stun_message_get_class (msg)) { case STUN_REQUEST: case STUN_INDICATION: - return STUN_USAGE_ICE_RETURN_RETRY; + return STUN_USAGE_ICE_RETURN_INVALID; case STUN_RESPONSE: break; @@ -121,7 +121,7 @@ StunUsageIceReturn stun_usage_ice_conncheck_process (StunMessage *msg, case STUN_ERROR: if (stun_message_find_error (msg, &code) != STUN_MESSAGE_RETURN_SUCCESS) { /* missing ERROR-CODE: ignore message */ - return STUN_USAGE_ICE_RETURN_RETRY; + return STUN_USAGE_ICE_RETURN_INVALID; } if (code == STUN_ERROR_ROLE_CONFLICT) diff --git a/stun/usages/ice.h b/stun/usages/ice.h index aa7638c..e8b5b57 100644 --- a/stun/usages/ice.h +++ b/stun/usages/ice.h @@ -56,7 +56,7 @@ typedef enum { typedef enum { STUN_USAGE_ICE_RETURN_SUCCESS, STUN_USAGE_ICE_RETURN_ERROR, - STUN_USAGE_ICE_RETURN_RETRY, + STUN_USAGE_ICE_RETURN_INVALID, STUN_USAGE_ICE_RETURN_ROLE_CONFLICT, STUN_USAGE_ICE_RETURN_INVALID_REQUEST, STUN_USAGE_ICE_RETURN_INVALID_METHOD, -- 2.11.4.GIT