diff options
Diffstat (limited to 'daemon/LocalCapture.cpp')
-rw-r--r-- | daemon/LocalCapture.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/daemon/LocalCapture.cpp b/daemon/LocalCapture.cpp index f8cd17f..2dd3aff 100644 --- a/daemon/LocalCapture.cpp +++ b/daemon/LocalCapture.cpp | |||
@@ -17,8 +17,6 @@ | |||
17 | #include "Logging.h" | 17 | #include "Logging.h" |
18 | #include "OlyUtility.h" | 18 | #include "OlyUtility.h" |
19 | 19 | ||
20 | extern void handleException(); | ||
21 | |||
22 | LocalCapture::LocalCapture() {} | 20 | LocalCapture::LocalCapture() {} |
23 | 21 | ||
24 | LocalCapture::~LocalCapture() {} | 22 | LocalCapture::~LocalCapture() {} |
@@ -56,7 +54,7 @@ char* LocalCapture::createUniqueDirectory(const char* initialPath, const char* e | |||
56 | handleException(); | 54 | handleException(); |
57 | } else if (initialPath[0] != '/') { | 55 | } else if (initialPath[0] != '/') { |
58 | if (getcwd(path, PATH_MAX) == 0) { | 56 | if (getcwd(path, PATH_MAX) == 0) { |
59 | logg->logMessage("Unable to retrive the current working directory"); | 57 | logg->logMessage("Unable to retrieve the current working directory"); |
60 | } | 58 | } |
61 | strncat(path, "/", PATH_MAX - strlen(path) - 1); | 59 | strncat(path, "/", PATH_MAX - strlen(path) - 1); |
62 | strncat(path, initialPath, PATH_MAX - strlen(path) - 1); | 60 | strncat(path, initialPath, PATH_MAX - strlen(path) - 1); |