summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/LocalCapture.cpp')
-rw-r--r--daemon/LocalCapture.cpp4
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
20extern void handleException();
21
22LocalCapture::LocalCapture() {} 20LocalCapture::LocalCapture() {}
23 21
24LocalCapture::~LocalCapture() {} 22LocalCapture::~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);