projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1e3a8
)
calc home dirs
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 20 Jan 2006 16:26:42 +0000
(16:26 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 20 Jan 2006 16:26:42 +0000
(16:26 +0000)
citadel/commands.c
patch
|
blob
|
history
diff --git
a/citadel/commands.c
b/citadel/commands.c
index d81f41ca7039a98a8610643c4085f25f6b619d5e..7fdd065781ceb06ae5e15487aa2ad4ba678b8cda 100644
(file)
--- a/
citadel/commands.c
+++ b/
citadel/commands.c
@@
-764,7
+764,8
@@
void load_command_set(void)
ccfile = NULL;
if (getenv("HOME") != NULL) {
- ccfile = fopen(file_citadel_rc, "r");
+ snprintf(buf, sizeof buf, "%s/.citadelrc", getenv("HOME"));
+ ccfile = fopen(buf, "r");
}
if (ccfile == NULL) {
ccfile = fopen(file_citadel_rc, "r");