summaryrefslogtreecommitdiff
path: root/clients/xzwrite
diff options
context:
space:
mode:
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