diff options
author | Greg Hudson <ghudson@mit.edu> | 2000-05-08 11:59:05 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2000-05-08 11:59:05 +0000 |
commit | 18cb1b9583587d3dbd5905607e61c17151630a4b (patch) | |
tree | 764b0ae1e5fd91106639027fb4a4a8eca5ebfc68 /clients | |
parent | 232b560c3d8937b5237233cc3fa3d5596ce4b91c (diff) |
Get subscriptions without defaults, to avoid re-subscribing the user
to the default subs when they run znol.
Diffstat (limited to 'clients')
-rw-r--r-- | clients/znol/znol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/znol/znol.c b/clients/znol/znol.c index 804f63f..53fd47c 100644 --- a/clients/znol/znol.c +++ b/clients/znol/znol.c @@ -194,7 +194,8 @@ main(argc,argv) if (ind == SUBSATONCE) { if (!justlist) if ((retval = (onoff==ON)? - ZSubscribeTo(subs,ind,(u_short)wgport): + ZSubscribeToSansDefaults(subs,ind, + (u_short)wgport): ZUnsubscribeTo(subs,ind,(u_short)wgport)) != ZERR_NONE) { com_err(argv[0],retval,(onoff==ON)? @@ -210,7 +211,7 @@ main(argc,argv) if (ind && !justlist) if ((retval = (onoff==ON)? - ZSubscribeTo(subs,ind,(u_short)wgport): + ZSubscribeToSansDefaults(subs,ind,(u_short)wgport): ZUnsubscribeTo(subs,ind,(u_short)wgport)) != ZERR_NONE) { com_err(argv[0],retval,(onoff==ON)? |