projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code reformating.
[mmh]
/
sbr
/
utils.c
diff --git
a/sbr/utils.c
b/sbr/utils.c
index
5c1253d
..
99c5510
100644
(file)
--- 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 (!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);
}