X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Fyaz-proxy-main.cpp;h=daa268a62ad873d94f2da9531965f773f6b964f5;hp=37441ad3d7d02c94a9dd78340b1b22203be45f54;hb=7efe8383431522089f1e06864dc8d7fdf782a8a6;hpb=dfdff5f2d2825a500d3d27200d2ec32ee063a975 diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index 37441ad..daa268a 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -1,5 +1,5 @@ /* This file is part of YAZ proxy - Copyright (C) 1998-2009 Index Data + Copyright (C) 1998-2011 Index Data YAZ proxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -232,7 +232,7 @@ static void child_run(void *data) struct rlimit limit_data; limit_data.rlim_cur = no_limit_files; limit_data.rlim_max = no_limit_files; - + yaz_log(YLOG_LOG, "0 setrlimit NOFILE cur=%ld max=%ld", (long) limit_data.rlim_cur, (long) limit_data.rlim_max); if (setrlimit(RLIMIT_NOFILE, &limit_data)) @@ -247,7 +247,7 @@ static void child_run(void *data) yaz_log(YLOG_LOG, "0 getrlimit NOFILE cur=%ld max=%ld", (long) limit_data.rlim_cur, (long) limit_data.rlim_max); #endif - + while (m->processEvent() > 0) ; @@ -258,7 +258,7 @@ int main(int argc, char **argv) { #if YAZ_HAVE_XSLT xmlInitMemory(); - + LIBXML_TEST_VERSION #endif SocketManager mySocketManager;