changeset 1529:e2f256502345

[gaim-migrate @ 1539] no more socklen_t committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 03 Mar 2001 12:56:25 +0000
parents b0f8f1865419
children 0b6e4d52de63
files plugins/icq/socketmanager.c plugins/icq/socketmanager.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/icq/socketmanager.c	Sat Mar 03 07:04:22 2001 +0000
+++ b/plugins/icq/socketmanager.c	Sat Mar 03 12:56:25 2001 +0000
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
 /*
-  $Id: socketmanager.c 1508 2001-02-22 23:07:34Z warmenhoven $
+  $Id: socketmanager.c 1539 2001-03-03 12:56:25Z warmenhoven $
 */
 
 #include "socketmanager.h"
@@ -67,7 +67,7 @@
  * Creates a new socket by accepting a connection from a listening
  * socket.
  */
-int icq_SocketAccept(int listens, struct sockaddr *addr, socklen_t *addrlen)
+int icq_SocketAccept(int listens, struct sockaddr *addr, int *addrlen)
 {
   int s = accept(listens, addr, addrlen);
 
--- a/plugins/icq/socketmanager.h	Sat Mar 03 07:04:22 2001 +0000
+++ b/plugins/icq/socketmanager.h	Sat Mar 03 12:56:25 2001 +0000
@@ -24,7 +24,7 @@
 };
 
 int icq_SocketNew(int domain, int type, int protocol);
-int icq_SocketAccept(int listens, struct sockaddr *addr, socklen_t *addrlen);
+int icq_SocketAccept(int listens, struct sockaddr *addr, int *addrlen);
 void icq_SocketAlloc(int s);
 int icq_SocketDelete(int socket);
 void icq_SocketSetHandler(int socket, int type, icq_SocketHandler handler,