summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-17 13:14:54 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-17 13:14:54 +0000
commit5b51bdd7faed4bdb5170d50a89b4f92dc778dfea (patch)
tree57b3a7242a05beab2a2f4c2c3f0a8b16388dba87 /lib
parent30c9d2e377eefb4cd2151a1f776e7eca21dce783 (diff)
new args for Z_FormatRawHeader
Diffstat (limited to 'lib')
-rw-r--r--lib/ZFmtRaw.c4
-rw-r--r--lib/ZFmtRawLst.c4
-rw-r--r--lib/ZFmtSmRLst.c6
-rw-r--r--lib/ZFmtSmRaw.c4
-rw-r--r--lib/ZMkAuth.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/lib/ZFmtRaw.c b/lib/ZFmtRaw.c
index 03955b2..bcd7bf7 100644
--- a/lib/ZFmtRaw.c
+++ b/lib/ZFmtRaw.c
@@ -29,8 +29,8 @@ Code_t ZFormatRawNotice(notice, buffer, ret_len)
int hdrlen;
Code_t retval;
- if ((retval = Z_FormatRawHeader(notice, header, sizeof(header), &hdrlen))
- != ZERR_NONE)
+ if ((retval = Z_FormatRawHeader(notice, header, sizeof(header),
+ &hdrlen, (char **) 0)) != ZERR_NONE)
return (retval);
*ret_len = hdrlen+notice->z_message_len;
diff --git a/lib/ZFmtRawLst.c b/lib/ZFmtRawLst.c
index 5015d77..deafbe3 100644
--- a/lib/ZFmtRawLst.c
+++ b/lib/ZFmtRawLst.c
@@ -32,8 +32,8 @@ Code_t ZFormatRawNoticeList(notice, list, nitems, buffer, ret_len)
char *ptr;
Code_t retval;
- if ((retval = Z_FormatRawHeader(notice, header, sizeof(header), &hdrlen))
- != ZERR_NONE)
+ if ((retval = Z_FormatRawHeader(notice, header, sizeof(header),
+ &hdrlen, (char **)0)) != ZERR_NONE)
return (retval);
size = 0;
diff --git a/lib/ZFmtSmRLst.c b/lib/ZFmtSmRLst.c
index 8968935..95cae5f 100644
--- a/lib/ZFmtSmRLst.c
+++ b/lib/ZFmtSmRLst.c
@@ -1,7 +1,7 @@
/* This file is part of the Project Athena Zephyr Notification System.
* It contains source for the ZFormatSmallRawNoticeList function.
*
- * Created by: John Kohl
+ * Created by: John T. Kohl
*
* $Source$
* $Author$
@@ -31,8 +31,8 @@ Code_t ZFormatSmallRawNoticeList(notice, list, nitems, buffer, ret_len)
int hdrlen, i, size;
char *ptr;
- if ((retval = Z_FormatRawHeader(notice, buffer, Z_MAXHEADERLEN, &hdrlen))
- != ZERR_NONE)
+ if ((retval = Z_FormatRawHeader(notice, buffer, Z_MAXHEADERLEN,
+ &hdrlen, (char **) 0)) != ZERR_NONE)
return (retval);
size = 0;
diff --git a/lib/ZFmtSmRaw.c b/lib/ZFmtSmRaw.c
index 781214a..ab0cd38 100644
--- a/lib/ZFmtSmRaw.c
+++ b/lib/ZFmtSmRaw.c
@@ -28,8 +28,8 @@ Code_t ZFormatSmallRawNotice(notice, buffer, ret_len)
Code_t retval;
int hdrlen;
- if ((retval = Z_FormatRawHeader(notice, buffer, Z_MAXHEADERLEN, &hdrlen))
- != ZERR_NONE)
+ if ((retval = Z_FormatRawHeader(notice, buffer, Z_MAXHEADERLEN,
+ &hdrlen, (char **) 0)) != ZERR_NONE)
return (retval);
*ret_len = hdrlen+notice->z_message_len;
diff --git a/lib/ZMkAuth.c b/lib/ZMkAuth.c
index 0b7901b..d2027c0 100644
--- a/lib/ZMkAuth.c
+++ b/lib/ZMkAuth.c
@@ -46,13 +46,13 @@ Code_t ZMakeAuthentication(notice, buffer, buffer_len, len)
free(notice->z_ascii_authent);
return (retval);
}
- retval = Z_FormatRawHeader(notice, buffer, buffer_len, len);
+ retval = Z_FormatRawHeader(notice, buffer, buffer_len, len, (char **) 0);
free(notice->z_ascii_authent);
notice->z_authent_len = 0;
return (retval);
#else
notice->z_authent_len = 0;
- return (Z_FormatRawHeader(notice, buffer, buffer_len, len));
+ return (Z_FormatRawHeader(notice, buffer, buffer_len, len, (char **) 0));
#endif
}