X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Feventl.c;h=649e6de11b2c0f4c0a02d4efb6693e3b90228fcb;hp=1efe41fb2033c5705af1d235f7b5a97f9b3414d8;hb=c519e4716646be3b24f7d4d3de99e06e423da865;hpb=ee43c59df798a12d811827cfb2bb64aca37d492a diff --git a/src/eventl.c b/src/eventl.c index 1efe41f..649e6de 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: eventl.c,v 1.6 2005-01-17 12:53:04 adam Exp $ + * $Id: eventl.c,v 1.7 2005-02-01 14:46:47 adam Exp $ */ /** @@ -55,7 +55,7 @@ static int log_level=0; static int log_level_initialized=0; -IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags) +IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags, int port) { IOCHAN new_iochan; @@ -74,6 +74,7 @@ IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags) new_iochan->force_event = 0; new_iochan->last_event = new_iochan->max_idle = 0; new_iochan->next = NULL; + new_iochan->port = port; return new_iochan; }