diff options
author | John Kohl <jtkohl@mit.edu> | 1989-11-15 17:47:29 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1989-11-15 17:47:29 +0000 |
commit | 3cfdf42cf37de0b03d3ff89ceb974580fc17c864 (patch) | |
tree | a95d672524ed6b7c61727981179f8cb47a2431e8 /zwgc | |
parent | 8029b96465d6b1dfbf30ac533c140012be455f09 (diff) |
fix absolute path names
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/subscriptions.c | 4 | ||||
-rw-r--r-- | zwgc/subscriptions.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/zwgc/subscriptions.c b/zwgc/subscriptions.c index f091006..aeaed60 100644 --- a/zwgc/subscriptions.c +++ b/zwgc/subscriptions.c @@ -325,9 +325,9 @@ static void load_subscriptions() { FILE *subscriptions_file; + /* no system default sub file on client--they live on the server */ subscriptions_file = locate_file(subscriptions_filename_override, - ".zephyr.subs", - "/afs/athena.mit.edu/user/c/chariot/.zephyr.subs.new"); + USRSUBS, NULL); if (subscriptions_file) load_subscriptions_from_file(subscriptions_file); } diff --git a/zwgc/subscriptions.h b/zwgc/subscriptions.h index d8ca30e..076f56a 100644 --- a/zwgc/subscriptions.h +++ b/zwgc/subscriptions.h @@ -27,4 +27,6 @@ extern void unpunt(); extern void zwgc_shutdown(); extern void zwgc_startup(); +#define USRSUBS ".zephyr.subs" + #endif |