]> git.marmaro.de Git - mmh/blobdiff - sbr/utils.c
Code reformating.
[mmh] / sbr / utils.c
index 5c1253d8b174f1e2883d4ecb016838ada0980f65..99c551010ded78c7c07e5c8b9de5d3ad412f8800 100644 (file)
@@ -70,8 +70,8 @@ pwd(void)
 
        if (!getcwd(curwd, PATH_MAX)) {
                admonish(NULL, "unable to determine working directory");
 
        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);
                }
                        strcpy(curwd, "/");
                        chdir(curwd);
                }