fix GET{SOCK,PEER}NAME_ARG{2,3}_TYPE lossage I created
authorKen Raeburn <raeburn@mit.edu>
Thu, 26 Feb 2004 23:27:49 +0000 (23:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 26 Feb 2004 23:27:49 +0000 (23:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16135 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/win-mac.h

index 1e5b3e90bbd5edade64ae970f1f639a1b282adf8..afe296be95bbb1e1fa8f5578b327185c7abd266d 100644 (file)
@@ -1,3 +1,10 @@
+2004-02-26  Ken Raeburn  <raeburn@mit.edu>
+
+       * win-mac.h (GETSOCKNAME_ARG2_TYPE, GETSOCKNAME_ARG3_TYPE): Set
+       proper values for Windows here.
+       (GETPEERNAME_ARG2_TYPE, GETPEERNAME_ARG3_TYPE): Map to the
+       getsockname versions.
+
 2004-02-24  Sam Hartman  <hartmans@avalanche-breakdown.mit.edu>
 
        * krb5.hin: Remove des3 with 32-bit length
index d1ad62bef27c400abdafe212d0d0c68f31b55fed..39644604001f2cca0b65c6da30dfcc8fba3d045a 100644 (file)
@@ -157,6 +157,11 @@ typedef unsigned char      u_char;
 
 HINSTANCE get_lib_instance(void);
 
+#define GETSOCKNAME_ARG2_TYPE  struct sockaddr
+#define GETSOCKNAME_ARG3_TYPE  size_t
+#define GETPEERNAME_ARG2_TYPE  GETSOCKNAME_ARG2_TYPE
+#define GETPEERNAME_ARG3_TYPE  GETSOCKNAME_ARG3_TYPE
+
 #endif /* !RES_ONLY */
 
 #endif /* _WIN32 */