diff options
author | John Kohl <jtkohl@mit.edu> | 1988-06-17 13:31:08 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-06-17 13:31:08 +0000 |
commit | e978045ce1a0b1c7b6021baf0649629c1ed0f5e0 (patch) | |
tree | 4f81e3c163db91c9b8fc435de47b3f66465943d9 /server/bdump.c | |
parent | b095cd5077a345de1f0b52be7357745cc0b472ad (diff) |
default format must be at least ""
set num_other_fields to zero
Diffstat (limited to 'server/bdump.c')
-rw-r--r-- | server/bdump.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/bdump.c b/server/bdump.c index d50bdb7..b89d9af 100644 --- a/server/bdump.c +++ b/server/bdump.c @@ -451,7 +451,8 @@ int num; pnotice->z_opcode = opcode; pnotice->z_sender = sender; pnotice->z_recipient = recip; - pnotice->z_default_format = 0; + pnotice->z_default_format = ""; + pnotice->z_num_other_fields = 0; if ((retval = ZFormatNoticeList(pnotice, lyst, num, &pack, &packlen, ZNOAUTH)) != ZERR_NONE) return(retval); @@ -998,8 +999,8 @@ int num; pnotice->z_opcode = opcode; pnotice->z_sender = sender; pnotice->z_recipient = recip; - pnotice->z_default_format = 0; - + pnotice->z_default_format = ""; + pnotice->z_num_other_fields = 0; if ((retval = ZFormatNoticeList(pnotice, lyst, num, &pack, &packlen, ZNOAUTH)) != ZERR_NONE) { syslog(LOG_WARNING, "sl format: %s", error_message(retval)); @@ -1044,9 +1045,10 @@ int len; pnotice->z_opcode = opcode; pnotice->z_sender = sender; pnotice->z_recipient = recip; - pnotice->z_default_format = 0; + pnotice->z_default_format = ""; pnotice->z_message = message; pnotice->z_message_len = len; + pnotice->z_num_other_fields = 0; if ((retval = ZFormatNotice(pnotice, &pack, &packlen, ZNOAUTH)) != ZERR_NONE) { syslog(LOG_WARNING, "sn format: %s", error_message(retval)); |