summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 15:51:57 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 15:51:57 +0000
commit1a2be7a2eae19938909305ed64abf8454e9d42c2 (patch)
tree63f4a5d316119aab0531078ac1eb55b7dec531cb /lib
parent52bbe8cdff1a6b7652d7377e694fc14178ed331d (diff)
Fix a few typos.
Diffstat (limited to 'lib')
-rw-r--r--lib/ZFmtAuth.c2
-rw-r--r--lib/ZMkAuth.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/ZFmtAuth.c b/lib/ZFmtAuth.c
index cf3dc8f..42af25a 100644
--- a/lib/ZFmtAuth.c
+++ b/lib/ZFmtAuth.c
@@ -28,7 +28,7 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session)
C_Block session;
{
ZNotice_t newnotice;
- char *ptr
+ char *ptr;
int retval, hdrlen;
newnotice = *notice;
diff --git a/lib/ZMkAuth.c b/lib/ZMkAuth.c
index a11b87b..c6ecfdb 100644
--- a/lib/ZMkAuth.c
+++ b/lib/ZMkAuth.c
@@ -85,12 +85,12 @@ Code_t ZMakeAuthentication(notice, buffer, buffer_len, len)
checksum = des_quad_cksum(buffer, NULL, cstart - buffer, 0, cred.session);
checksum ^= des_quad_cksum(cend, NULL, buffer + *len - cend, 0,
cred.session);
- checksum ^= des_quad_cksum(notice->z_message, NULL, notice->message_len, 0,
- cred.session);
+ checksum ^= des_quad_cksum(notice->z_message, NULL, notice->z_message_len,
+ 0, cred.session);
notice->z_checksum = (ZChecksum_t) checksum;
checksum = htonl(checksum);
- ZMakeAscii(cptr, buffer + buffer_len - cptr, (unsigned char *) &checksum,
- sizeof(checksum));
+ ZMakeAscii(cstart, buffer + buffer_len - cstart,
+ (unsigned char *) &checksum, sizeof(checksum));
return (ZERR_NONE);
#else