Split the conditional-directory sending out of send_file_name() into
authorWayne Davison <wayned@samba.org>
Mon, 14 Mar 2005 17:30:15 +0000 (17:30 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 14 Mar 2005 17:30:15 +0000 (17:30 +0000)
commit301fb56ce9f7b0a47ede7d03c27ad64ed3ccce15
tree508a01af5b76cf8841482d666cc86b6d6db6b28e
parentaa7a6e878bf09d81122bb29b32deab2966c74b61
Split the conditional-directory sending out of send_file_name() into
a new function: send_if_directory().  This lets the code that is
recursively descending through the directories make its list of a
dir's contents and close the DIR handle before recursing into the
subdirs.  Also, the "recurse" var is just true/false once again.
flist.c