diff options
author | John Kohl <jtkohl@mit.edu> | 1988-06-15 16:46:51 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-06-15 16:46:51 +0000 |
commit | 6ea1193fe722905667af6a9aad599e5a0ae90c66 (patch) | |
tree | f5ce3a355fe5fbcbc68f417bd7a4d6159eacc05a /lib/ZParseNot.c | |
parent | f9bfa267c96460f0be943a931a5eef9405517bc5 (diff) |
remove debugging abort()
copy uid into multiuid if there is no multiuid field
Diffstat (limited to 'lib/ZParseNot.c')
-rw-r--r-- | lib/ZParseNot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ZParseNot.c b/lib/ZParseNot.c index 2f6dcfd..ee23152 100644 --- a/lib/ZParseNot.c +++ b/lib/ZParseNot.c @@ -38,7 +38,7 @@ Code_t ZParseNotice(buffer, len, notice) notice->z_version = ptr; if (strncmp(ptr, ZVERSIONHDR, strlen(ZVERSIONHDR))) -/* return (ZERR_VERS);*/ abort(); + return (ZERR_VERS); ptr += strlen(ZVERSIONHDR); maj = atoi(ptr); if (maj != ZVERSIONMAJOR) @@ -198,7 +198,8 @@ Code_t ZParseNotice(buffer, len, notice) ptr += strlen(ptr)+1; } else - bzero(¬ice->z_multiuid, sizeof(ZUnique_Id_t)); + bcopy((char *) ¬ice->z_uid, (char *) ¬ice->z_multiuid, + sizeof(ZUnique_Id_t)); for (i=0;i<Z_MAXOTHERFIELDS && numfields;i++,numfields--) { notice->z_other_fields[i] = ptr; |