From 18cb1b9583587d3dbd5905607e61c17151630a4b Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 8 May 2000 11:59:05 +0000 Subject: Get subscriptions without defaults, to avoid re-subscribing the user to the default subs when they run znol. --- clients/znol/znol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'clients') 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)? -- cgit v1.2.3