From: Jiří Škrábal Date: Fri, 4 Mar 2005 12:18:31 +0000 (+0000) Subject: - fix buildings problems with gSOAP v < 2.7 X-Git-Tag: glite-deployment-lb_R_1_1_1~24 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=17a9b642d899cc9a8d045cc4a262889d2abb21d1;p=jra1mw.git - fix buildings problems with gSOAP v < 2.7 (value of the STATUS field was first defined in system includes) - setting timeout into gsoap plugin corrected --- diff --git a/org.glite.lb.server/src/bkserverd.c b/org.glite.lb.server/src/bkserverd.c index 3ccd051..a6774b2 100644 --- a/org.glite.lb.server/src/bkserverd.c +++ b/org.glite.lb.server/src/bkserverd.c @@ -51,6 +51,12 @@ int soap_serve(struct soap*); #include "stats.h" #ifdef GLITE_LB_SERVER_WITH_WS +# if GSOAP_VERSION < 20700 + /* STATUS - defined in and it's includes + * brake the build + */ +# undef STATUS +# endif #include "LoggingAndBookkeeping.nsmap" #endif /* GLITE_LB_SERVER_WITH_WS */ @@ -897,7 +903,7 @@ int bk_handle_ws_connection(int conn, struct timeval client_start, void *data) goto err; } gsplugin_ctx->connection = &cdata->ctx->connPool[cdata->ctx->connToUse].gss; - gsplugin_ctx->timeout = cdata->ctx->p_tmp_timeout; + glite_gsplugin_set_timeout(gsplugin_ctx, &cdata->ctx->p_tmp_timeout); gsplugin_ctx->cred = mycred; cdata->soap = soap;