summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1988-05-13 14:06:55 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1988-05-13 14:06:55 +0000
commitafa7227b0509001fdc405aea298290adca72d1d3 (patch)
treea6c87d3c20d0fd75e99e5e6c29a483cd40eefc06 /lib/ZFmtNotice.c
parent7ae9c463865984d4556d156db75ded7dfff6d3fe (diff)
Cosmetic
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r--lib/ZFmtNotice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ZFmtNotice.c b/lib/ZFmtNotice.c
index be9a3e1..f1f64e8 100644
--- a/lib/ZFmtNotice.c
+++ b/lib/ZFmtNotice.c
@@ -20,10 +20,10 @@ static char rcsid_ZFormatNotice_c[] = "$Header$";
#include <zephyr/zephyr.h>
-Code_t ZFormatNotice(notice, buffer, len, cert_routine)
+Code_t ZFormatNotice(notice, buffer, ret_len, cert_routine)
ZNotice_t *notice;
char **buffer;
- int *len;
+ int *ret_len;
int (*cert_routine)();
{
char header[Z_MAXHEADERLEN];
@@ -35,9 +35,9 @@ Code_t ZFormatNotice(notice, buffer, len, cert_routine)
cert_routine)) != ZERR_NONE)
return (retval);
- *len = hdrlen+notice->z_message_len;
+ *ret_len = hdrlen+notice->z_message_len;
- if (!(*buffer = malloc(*len)))
+ if (!(*buffer = malloc(*ret_len)))
return (ENOMEM);
notice->z_packet = *buffer;