X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Feventl.c;h=5084f2d13c87719c98148137bc0a73dd72a609ed;hb=185028bccf8a5e6635fc5ef8f1f737c798e29c2a;hp=1efe41fb2033c5705af1d235f7b5a97f9b3414d8;hpb=6cdf6f2a3f67ce56d13b64a64a2a192f51ac445c;p=yaz-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index 1efe41f..5084f2d 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.8 2005-03-01 20:37:01 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 chan_id) { 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->chan_id = chan_id; return new_iochan; }