Commit a8cdc87a authored by Pekka Pessi's avatar Pekka Pessi

Fixed STUN_ERROR() macro in <stun/stun_internal.h>.

darcs-hash:20060503135821-65a35-87d180dfcee288c754bc2f165d2229fb54b644ee.gz
parent eb4be07d
......@@ -84,9 +84,10 @@ extern char const STUN_DEBUG[]; /* dummy declaration for Doxygen */
#endif
#define STUN_ERROR(errno, what) \
{ int err = errno; \
SU_DEBUG_5(("%s: %s: %s\n", __func__, #what, su_strerror(err))); \
}
do { int stun_error_ = errno; \
SU_DEBUG_5(("%s: %s: %s\n", __func__, #what, \
su_strerror(stun_error_))); \
} while(0)
int stun_is_requested(tag_type_t tag, tag_value_t value, ...);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment