diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-12 12:34:43 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-14 11:34:42 +0100 |
commit | e663b88c59a6891c9f2b5a41f50c11033e5d0364 (patch) | |
tree | 95c334508a8699f176ebdebbad9d0697b4ac790d /src/nm-logging.c | |
parent | afaa27ddbbb7a47ba062d1d58df7186a314f0b47 (diff) |
all/trivial: rename STRLEN() macro to NM_STRLEN()
We should not have defines/macros in header files without a nm/NM
prefix. STRLEN() was one of the few offenders.
https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00048.html
Diffstat (limited to 'src/nm-logging.c')
-rw-r--r-- | src/nm-logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-logging.c b/src/nm-logging.c index 159d83fcf..9d156db6a 100644 --- a/src/nm-logging.c +++ b/src/nm-logging.c @@ -455,7 +455,7 @@ _iovec_set_string (struct iovec *iov, gboolean *iov_free, int i, const char *str iov[i].iov_len = len; iov_free[i] = FALSE; } -#define _iovec_set_literal_string(iov, iov_free, i, str) _iovec_set_string ((iov), (iov_free), (i), (""str""), STRLEN (str)) +#define _iovec_set_literal_string(iov, iov_free, i, str) _iovec_set_string ((iov), (iov_free), (i), (""str""), NM_STRLEN (str)) #endif void |