X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Futils.c;h=99c551010ded78c7c07e5c8b9de5d3ad412f8800;hb=cadeb41388928c84e39842b6a45d1bdce1773ad4;hp=5c1253d8b174f1e2883d4ecb016838ada0980f65;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/utils.c b/sbr/utils.c index 5c1253d..99c5510 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -70,8 +70,8 @@ pwd(void) if (!getcwd(curwd, PATH_MAX)) { admonish(NULL, "unable to determine working directory"); - if (!mypath || !*mypath - || (strcpy(curwd, mypath), chdir(curwd)) == -1) { + if (!mypath || !*mypath || + (strcpy(curwd, mypath), chdir(curwd)) == -1) { strcpy(curwd, "/"); chdir(curwd); }