[170] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

zephyr:lib/ZFormatNotice*.c

daemon@ATHENA.MIT.EDU (John Carr)
Wed Nov 28 16:47:53 1990

To: bugs@ATHENA.MIT.EDU, bug-zephyr@ATHENA.MIT.EDU
Date: Wed, 28 Nov 90 16:47:41 EST
From: John Carr <jfc@ATHENA.MIT.EDU>


The last argument to ZFormatNotice() should be declared type
Z_AuthProc, not int (*)().  A similar patch should be applied to
ZFormatNoticeList().

hc should have detected this.  The AIX 1.2 compiler did.

*** ZFormatNotice.c.72	Wed Jun 29 16:41:01 1988
--- ZFormatNotice.c	Wed Nov 28 16:43:44 1990
***************
*** 24,30 ****
      ZNotice_t *notice;
      char **buffer;
      int *ret_len;
!     int (*cert_routine)();
  {
      char header[Z_MAXHEADERLEN];
      int hdrlen;
--- 24,30 ----
      ZNotice_t *notice;
      char **buffer;
      int *ret_len;
!     Z_AuthProc cert_routine;
  {
      char header[Z_MAXHEADERLEN];
      int hdrlen;

home help back first fref pref prev next nref lref last post