diff options
author | CoolStar <coolstarorganization@gmail.com> | 2018-12-20 15:11:31 -0800 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-12-26 15:24:12 -1000 |
commit | 8d1277b777045f45ffae210edea608c27587d7a2 (patch) | |
tree | 7e99593eea9e5e1c3167057f0ca77547c0e1993a /apt-pkg/contrib/fileutl.cc | |
parent | f500e1fbad17354e04e3c4af7295759dd599925f (diff) |
APT 1.7.0-sileo
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 8 |
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); |