summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Piesk <a.piesk@mailbox.org>2017-12-22 10:05:02 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-12-22 10:29:27 +0000
commit8dcf2dc4a641fb142ec0b27538e9ffcf0c2407fc (patch)
tree42a7f12c19bfe7f7fe968112d41362088cb773fd
parent030caf2a9ff7fb273b1f476bd6d8a83f0eb93931 (diff)
Fix build of nisplus lookup
-rw-r--r--src/src/lookups/nisplus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/lookups/nisplus.c b/src/src/lookups/nisplus.c
index e4184bbd6..7cd00eedf 100644
--- a/src/src/lookups/nisplus.c
+++ b/src/src/lookups/nisplus.c
@@ -54,7 +54,6 @@ nis_object *tno, *eno;
struct entry_obj *eo;
struct table_obj *ta;
uschar *p = query + length;
-uschar *yield = NULL;
gstring * yield = NULL;
do_cache = do_cache; /* Placate picky compilers */
@@ -173,7 +172,7 @@ for (i = 0; i < eo->en_cols.en_cols_len; i++)
yield = string_catn(yield, US"\"", 1);
}
else
- eyield = string_catn(yield, value, len);
+ yield = string_catn(yield, value, len);
yield = string_catn(yield, US" ", 1);
}