diff options
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r-- | src/basic/strv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h index 71ff3a4edf..49e1c3d8b1 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -87,7 +87,7 @@ char** strv_new_ap(const char *x, va_list ap); #define STRV_IGNORE ((const char *) POINTER_MAX) static inline const char* STRV_IFNOTNULL(const char *x) { - return x ? x : STRV_IGNORE; + return x ?: STRV_IGNORE; } static inline bool strv_isempty(char * const *l) { |