summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-11-19 13:10:45 -0500
committerNalin Dahyabhai <nalin@redhat.com>2010-11-19 13:10:45 -0500
commit42b9425d13428247ca168057ed7689f5ad65e341 (patch)
treeada0e2a170c40e95a485473c8f87ce379ffcbb19
parent2b280adba107fe99197fdf9e76c56ea300080a32 (diff)
downloadslapi-nis-42b9425d13428247ca168057ed7689f5ad65e341.tar.gz
slapi-nis-42b9425d13428247ca168057ed7689f5ad65e341.tar.xz
slapi-nis-42b9425d13428247ca168057ed7689f5ad65e341.zip
- initialize map_supported so that when we debug log we output it right
-rw-r--r--src/nis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nis.c b/src/nis.c
index 25c5912..d05e4ce 100644
--- a/src/nis.c
+++ b/src/nis.c
@@ -239,6 +239,7 @@ nis_next(struct plugin_state *state,
(client_secure || !map_secure)) {
/* Have data for this key, but not the next. */
reply_key_val->status = YP_NOMORE;
+ map_supported = TRUE;
} else {
/* No data for this key. Check if we even have
* a map by that name, just to be sure. */