diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-09 21:34:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-09 21:34:59 +0000 |
commit | 09d83c564b0dde7a174d776b99972faa2dfb39a3 (patch) | |
tree | 3036c27c5eea57d960a9babec51d60a6e66a3f52 /src/common/util.c | |
parent | 2f6eb10fb415050968a3b314ab488d305813cb59 (diff) | |
download | tor-09d83c564b0dde7a174d776b99972faa2dfb39a3.tar.gz tor-09d83c564b0dde7a174d776b99972faa2dfb39a3.zip |
Add missing arg to windows tor_listdir()
svn:r4972
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 821bfc8213..446a5702d0 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1139,7 +1139,7 @@ tor_listdir(const char *dirname) } result = smartlist_create(); while (1) { - smartlist_add(findData.cFileName); + smartlist_add(result, findData.cFileName); if (!FindNextFile(handle, &findData)) { if (GetLastError() != ERROR_NO_MORE_FILES) { log_fn(LOG_WARN, "Error reading directory."); |