diff options
author | Robert S. French <rfrench@mit.edu> | 1987-06-29 13:27:04 +0000 |
---|---|---|
committer | Robert S. French <rfrench@mit.edu> | 1987-06-29 13:27:04 +0000 |
commit | 5d31df767ec540c974e721d1ac1060903baa43b9 (patch) | |
tree | 7e746ffaa8770562ae33256eec0358abf07bf16b /lib/ZParseNot.c | |
parent | 31f8e167b83e8a8924f72acef60d08f991cf1e49 (diff) |
fenceposts!!
Diffstat (limited to 'lib/ZParseNot.c')
-rw-r--r-- | lib/ZParseNot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ZParseNot.c b/lib/ZParseNot.c index d30707a..692366a 100644 --- a/lib/ZParseNot.c +++ b/lib/ZParseNot.c @@ -97,7 +97,8 @@ Code_t ZParseNotice(buffer,len,notice,auth,from) } if (__Zephyr_server) { - if (ZReadAscii(notice->z_ascii_authent,end-ptr,authent.dat, + if (ZReadAscii(notice->z_ascii_authent, + strlen(notice->z_ascii_authent)+1,authent.dat, notice->z_authent_len) == ZERR_BADFIELD) { *auth = 0; return (ZERR_NONE); |