diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/core/sockaddr_str.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/sockaddr_str.h b/include/osmocom/core/sockaddr_str.h index 253b755f..7c01732d 100644 --- a/include/osmocom/core/sockaddr_str.h +++ b/include/osmocom/core/sockaddr_str.h @@ -62,7 +62,7 @@ struct osmo_sockaddr_str { * printf("got " OSMO_SOCKADDR_STR_FMT "\n", OSMO_SOCKADDR_STR_FMT_ARGS(my_sockaddr_str)); */ #define OSMO_SOCKADDR_STR_FMT "%s:%u" -#define OSMO_SOCKADDR_STR_FMT_ARGS(R) ((R)->ip ? : ""), (R)->port +#define OSMO_SOCKADDR_STR_FMT_ARGS(R) (R)->ip, (R)->port bool osmo_sockaddr_str_is_set(const struct osmo_sockaddr_str *sockaddr_str); |