From: Jeremy Allison Date: Tue, 22 Mar 2005 22:04:01 +0000 (+0000) Subject: r5975: Re-arrange code and comments to make more sense. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5061 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08616ad80d96d1b7b558eec036bafb4bf3663942;p=thirdparty%2Fsamba.git r5975: Re-arrange code and comments to make more sense. Jeremy. --- diff --git a/source/libsmb/clilist.c b/source/libsmb/clilist.c index 33bf32bb94f..eea4391e55b 100644 --- a/source/libsmb/clilist.c +++ b/source/libsmb/clilist.c @@ -269,18 +269,6 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, /* point to the data bytes */ p = rdata; - /* we might need the lastname for continuations */ - - /* and add them to the dirlist pool */ - tdl = SMB_REALLOC(dirlist,dirlist_len + data_len); - - if (!tdl) { - DEBUG(0,("cli_list_new: Failed to expand dirlist\n")); - break; - } else { - dirlist = tdl; - } - /* we might need the lastname for continuations */ for (p2=p,i=0;i