summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>2003-11-04 14:21:49 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>2003-11-04 14:21:49 +0000
commite8980b8764d4703aa4a5992c17d03b6e6603b8d1 (patch)
tree029460833061121781c572cab325c9eeb160f82f /clients
parentd964939cd7d1e1c94d37d8b3d31222044fdbd53b (diff)
Don't get default subs when doing "zctl add" or "zctl sub".
Diffstat (limited to 'clients')
-rw-r--r--clients/zctl/zctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/zctl/zctl.c b/clients/zctl/zctl.c
index b7154ec..e124b4a 100644
--- a/clients/zctl/zctl.c
+++ b/clients/zctl/zctl.c
@@ -463,7 +463,8 @@ subscribe(argc,argv)
return;
}
- retval = (*argv[0] == 's') ? ZSubscribeTo(&sub2,1,(u_short)wgport) :
+ retval = (*argv[0] == 's') ?
+ ZSubscribeToSansDefaults(&sub2,1,(u_short)wgport) :
ZUnsubscribeTo(&sub2,1,(u_short)wgport);
if (retval != ZERR_NONE)
@@ -548,7 +549,7 @@ int unsub;
}
fix_macros(subs,&sub2,1);
if (retval = (unsub ? ZUnsubscribeTo(&sub2,1,(u_short)wgport) :
- ZSubscribeTo(&sub2,1,(u_short)wgport)))
+ ZSubscribeToSansDefaults(&sub2,1,(u_short)wgport)))
ss_perror(sci_idx,retval,
unsub ? "while unsubscribing" :
"while subscribing");