summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-27 16:44:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:05 -0500
commit6d35c078114d911784bf7c18fc700ea81cea6f6f (patch)
treeb9fc4b958b6e040ea7ddc46c3bb03ff6e3d2f2de /source4
parent9c8fa196ba31b63e7632df8216ae11c7ce2ce9de (diff)
downloadsamba-6d35c078114d911784bf7c18fc700ea81cea6f6f.tar.gz
samba-6d35c078114d911784bf7c18fc700ea81cea6f6f.tar.bz2
samba-6d35c078114d911784bf7c18fc700ea81cea6f6f.zip
r17278: fix un uninitialized value found by valgrind
metze (This used to be commit fe463bc568e8ac78ca161bcba3e867d33bb828b3)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/clilist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/clilist.c b/source4/libcli/clilist.c
index 16986e9428..9b4a1a158f 100644
--- a/source4/libcli/clilist.c
+++ b/source4/libcli/clilist.c
@@ -274,6 +274,7 @@ int smbcli_list_old(struct smbcli_tree *tree, const char *Mask, uint16_t attribu
state.mem_ctx = talloc_init("smbcli_list_old");
state.dirlist_len = 0;
state.total_received = 0;
+ state.data_level = RAW_SEARCH_DATA_SEARCH;
state.dirlist = talloc_new(state.mem_ctx);
mask = talloc_strdup(state.mem_ctx, Mask);