X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=b380ee59f142a5b8d38f8c13cfedda6066bbcd00;hb=dd5f78cc0a977733507aaeb5c76b00ba2debe392;hp=8b4edb8c9a122243e5783a0125ce1a6facae4a8e;hpb=0abf92a5ba3132c9727bec630ed1f04bc51b4f04;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index 8b4edb8..b380ee5 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: seshigh.c,v $ - * Revision 1.26 1995-05-18 13:02:12 quinn + * Revision 1.27 1995-05-29 08:12:06 quinn + * Moved oid to util + * + * Revision 1.26 1995/05/18 13:02:12 quinn * Smallish. * * Revision 1.25 1995/05/17 08:42:26 quinn @@ -211,10 +214,7 @@ association *create_association(IOCHAN channel, COMSTACK link) new->rejected = 0; request_initq(&new->incoming); request_initq(&new->outgoing); - if (cs_getproto(link) == CS_Z3950) - new->proto = PROTO_Z3950; - else - new->proto = PROTO_SR; + new->proto = cs_getproto(link); return new; }