summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 626fc84..f788df8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -88,7 +88,7 @@ int main(int argc, char** argv)
target = htap.otherArguments()[1];
} else {
char* pwd = new char[256];
- if (getcwd(pwd, 265) == NULL) {
+ if (getcwd(pwd, 256) == NULL) {
delete pwd;
pwd = new char[1024];
if (getcwd(pwd, 1024) == NULL) {

Generated by cgit