diff options
author | rofl0r <retnyg@gmx.net> | 2012-11-04 09:14:33 +0400 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-04 09:14:33 +0400 |
commit | 7bca3ba5ef24eb967cb392b793bae7aa9b96073f (patch) | |
tree | 7c2a75541fcfe58c1d19cd2b84d0c294288d8884 | |
parent | f011ff99dd454929832d6a16eb6ee9a148368f98 (diff) |
main.c: fixed forgotten initialization for second loop using iv4.2
this caused the combination of -q -f somefile to not find the dll
in the current dir, because it started iterating the directory
list with 2 instead of 0.
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -103,6 +103,8 @@ int main(int argc, char *argv[]) { // search DLL set_own_dir(argv[0]); + + i = 0; while(dll_dirs[i]) { snprintf(buf, sizeof(buf), "%s/%s", dll_dirs[i], dll_name); |