diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index 7f4c2adee9..3b7823f2b8 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -897,7 +897,7 @@ unsigned long _ast_trace_dec_indent(void); __type __var; \ ast_trace(level, "--> Calling %s\n", #__funcname); \ __var = __funcname(__VA_ARGS__); \ - ast_trace(level, "<-- Return from %s\n", #__funcname) \ + ast_trace(level, "<-- Return from %s\n", #__funcname); \ __var; \ }) @@ -1015,7 +1015,7 @@ unsigned long _ast_trace_dec_indent(void); __funcname(__VA_ARGS__) #define SCOPE_CALL_WITH_RESULT(level, __var, __funcname, ...) \ - __var = __funcname(__VA_ARGS__) + __funcname(__VA_ARGS__) #define SCOPE_CALL_WITH_INT_RESULT(level, __funcname, ...) \ __funcname(__VA_ARGS__) diff --git a/res/res_pjsip_authenticator_digest.c b/res/res_pjsip_authenticator_digest.c index a97052562a..6d7fdab2b8 100644 --- a/res/res_pjsip_authenticator_digest.c +++ b/res/res_pjsip_authenticator_digest.c @@ -632,7 +632,7 @@ static enum ast_sip_check_auth_result digest_check_auth(struct ast_sip_endpoint * sending challenges. We don't need to verify them. */ if (auth->type == AST_SIP_AUTH_TYPE_ARTIFICIAL) { - ast_trace(-1, "%s:%s:%s: Skipping verification on artificial endpoint\n", endpoint_id, auth_id, src_name ) + ast_trace(-1, "%s:%s:%s: Skipping verification on artificial endpoint\n", endpoint_id, auth_id, src_name); verify_res[idx] = AUTH_NOAUTH; } else { verify_res[idx] = SCOPE_CALL_WITH_RESULT(-1, int, verify, endpoint_id, auth, rdata, tdata->pool);