X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=e89e830050c058b0d169132e6ed29ea5e2afd690;hb=c365561ca2d2f7b16dd287e524abc616eba9b9fc;hp=33c7b067b85cf728df0f91239723edffc0c99e43;hpb=617d78c63e7a502367abc3504f192770aa537482;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index 33c7b06..e89e830 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: seshigh.c,v $ - * Revision 1.92 1999-06-17 10:54:45 adam + * Revision 1.93 1999-07-06 12:17:15 adam + * Added option -1 that runs server once (for profiling purposes). + * + * Revision 1.92 1999/06/17 10:54:45 adam * Added facility to specify implementation version - and name * for server. * @@ -451,6 +454,8 @@ void destroy_association(association *h) request_delq(&h->incoming); request_delq(&h->outgoing); xfree(h); + if (control_block && control_block->one_shot) + exit (0); } static void do_close_req(association *a, int reason, char *message,