summaryrefslogtreecommitdiff
path: root/clients/xzwrite
diff options
context:
space:
mode:
authorGravatar John F. Carr <jfc@mit.edu>1991-06-20 10:36:43 +0000
committerGravatar John F. Carr <jfc@mit.edu>1991-06-20 10:36:43 +0000
commiteacc1d17b7c00626128e897fe093cd2f1409b9fb (patch)
treeaa6c83c2bbe64aa1ab2c9965f634d7a922cad5a2 /clients/xzwrite
parent3f092833b6e0494960eeb1bc90920e653514598e (diff)
Add zsub_ prefix to field names in subscription structure.
Diffstat (limited to 'clients/xzwrite')
-rw-r--r--clients/xzwrite/zephyr.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/clients/xzwrite/zephyr.c b/clients/xzwrite/zephyr.c
index 8e64ae3..0db16ad 100644
--- a/clients/xzwrite/zephyr.c
+++ b/clients/xzwrite/zephyr.c
@@ -235,8 +235,9 @@ static int zeph_send_notice(notice, auth)
return SEND_OK;
}
+#ifdef DEBUG
/* debugging function */
-int zeph_display_subscriptions()
+void zeph_display_subscriptions()
{
ZSubscription_t sub;
int n, retval, i = 1;
@@ -254,9 +255,9 @@ int zeph_display_subscriptions()
if (i != 1)
Warning("Subscriptions skipped while printing.", NULL);
- printf("<%s,%s,%s>\n", sub.class, (*sub.classinst) ?
- sub.classinst : "**", (*sub.recipient) ?
- sub.recipient : "**");
+ printf("<%s,%s,%s>\n", sub.class, (*sub.zsub_classinst) ?
+ sub.zsub_classinst : "**", (*sub.zsub_recipient) ?
+ sub.zsub_recipient : "**");
}
}
-
+#endif