summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r--apt-pkg/contrib/fileutl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index f7c8107b4..2ef1075a1 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -186,8 +186,8 @@ static char *searchpath(const char *binaryname){
strcpy(foundpath, binaryname);
return foundpath;
} else {
- return NULL;
- }
+ return NULL;
+ }
}
char *pathvar = getenv("PATH");
@@ -274,7 +274,7 @@ static char *fixedCmd(const char *cmdStr){
strcat(rawCommand, " ");
strcat(rawCommand, args);
}
- rawCommand[(commandSize)+1] = '\0';
+ rawCommand[(commandSize)+1] = '\0';
free(interpreter);
free(abs_path);
@@ -295,7 +295,7 @@ static char *fixedCmd(const char *cmdStr){
strcat(rawCommand, " ");
strcat(rawCommand, args);
}
- rawCommand[(commandSize)+1] = '\0';
+ rawCommand[(commandSize)+1] = '\0';
free(abs_path);
free(cmdCpy);