diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 13:08:27 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:09 +0200 |
commit | 3e8a6e576007892bab7d59367c5199a41fb1506d (patch) | |
tree | 297451b0b939f545185dea56f40ca28315ac90d5 /source3/client | |
parent | ecc822faf8f1e2f34573aabef381a846b08afeec (diff) | |
download | samba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.gz |
build: Remove sys_closedir wrapper
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 0fb3e3ff2f..40ba23ef40 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2111,14 +2111,14 @@ static int file_find(struct file_list **list, const char *directory, if (ret == -1) { SAFE_FREE(path); - sys_closedir(dir); + closedir(dir); return -1; } } entry = SMB_MALLOC_P(struct file_list); if (!entry) { d_printf("Out of memory in file_find\n"); - sys_closedir(dir); + closedir(dir); return -1; } entry->file_path = path; @@ -2129,7 +2129,7 @@ static int file_find(struct file_list **list, const char *directory, } } - sys_closedir(dir); + closedir(dir); return 0; } |