diff options
Diffstat (limited to 'clients')
-rw-r--r-- | clients/zctl/zctl.c | 5 |
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"); |