diff options
author | Toomas Soome <tsoome@me.com> | 2018-11-27 10:02:27 +0200 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2018-12-05 01:59:04 +0000 |
commit | a949e73d2676619263a21aaaaea30669bfcc27a1 (patch) | |
tree | c3ea633d3f122592559c2e8d549a0e475999475a /usr | |
parent | a50e8766452bf989ab5da8c51bb857190e7a18c9 (diff) | |
download | illumos-joyent-a949e73d2676619263a21aaaaea30669bfcc27a1.tar.gz |
10019 libsldap: macro expands to multiple statements
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/lib/libsldap/common/ns_reads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libsldap/common/ns_reads.c b/usr/src/lib/libsldap/common/ns_reads.c index 61a59e16db..726aea2bc1 100644 --- a/usr/src/lib/libsldap/common/ns_reads.c +++ b/usr/src/lib/libsldap/common/ns_reads.c @@ -1360,10 +1360,11 @@ get_mapped_filter(ns_ldap_cookie_t *cookie, char **new_filter) "'%s' not allowed."), info[i]->from_name, filter); err = strdup(errstr); - if (err) + if (err) { MKERROR(LOG_WARNING, cookie->errorp, NS_CONFIG_SYNTAX, err, NULL); + } free(filter_c); for (j = 0; j < num_veq; j++) { |