diff options
| author | jacob1 <jfu614@gmail.com> | 2012-12-16 16:38:12 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2012-12-16 16:38:12 (GMT) |
| commit | 06f8f88374a1b9e288da30d754ba4bf02768d863 (patch) | |
| tree | fbe46aa7b53660b6c399728f1adc1504b188dc98 /src/client/Client.cpp | |
| parent | a85526bfac04f033337edcd31aa53e8e33554ec1 (diff) | |
| download | powder-06f8f88374a1b9e288da30d754ba4bf02768d863.zip powder-06f8f88374a1b9e288da30d754ba4bf02768d863.tar.gz | |
fix output appearing in stdout without DEBUG defined
Diffstat (limited to 'src/client/Client.cpp')
| -rw-r--r-- | src/client/Client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 326bb05..4ec929c 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -431,7 +431,9 @@ std::vector<std::string> Client::DirectorySearch(std::string directory, std::str findFileHandle = _findfirst(fileMatch.c_str(), ¤tFile); if (findFileHandle == -1L) { +#ifdef DEBUG printf("Unable to open directory\n"); +#endif return std::vector<std::string>(); } do |
