From a0dbeaad6cad1d2ab4728d953e48d778da21df8c Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 27 Aug 2013 14:39:57 -0400 Subject: Skip values that are going to come up empty --- src/format.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/format.c b/src/format.c index 150fa42..8732cd8 100644 --- a/src/format.c +++ b/src/format.c @@ -3152,6 +3152,9 @@ format_link(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e, } max_length = length; } + if (length == 0) { + continue; + } /* Build the output value. */ p = buffer; for (i = 0; i < n_lists; i += 2) { -- cgit