From: Michal Voců Date: Wed, 17 May 2006 15:16:44 +0000 (+0000) Subject: * make it compile X-Git-Tag: gridsite-core_R_1_1_19~23 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5b06a270945b88deed2444bce3659c13452157ee;p=jra1mw.git * make it compile --- diff --git a/org.glite.lb.common/src/lb_perftest.c b/org.glite.lb.common/src/lb_perftest.c index 07676af..d9fff6c 100644 --- a/org.glite.lb.common/src/lb_perftest.c +++ b/org.glite.lb.common/src/lb_perftest.c @@ -24,6 +24,10 @@ static int nevents; static int njobs = 0; static int cur_event = 0; static int cur_job = 0; +static char *test_user; +static char *test_name; +static char *dest_host; +static int dest_port; #define EVENTS_BUFSIZ 16 #define BUFFSZ 1024 @@ -143,7 +147,7 @@ glite_wll_perftest_init(const char *host, return(-1); } - if((nevents=read_events(&events)) < 0) + if((nevents=read_events(fd,&events)) < 0) return(-1); close(fd); @@ -152,6 +156,10 @@ glite_wll_perftest_init(const char *host, cur_event = cur_job = 0; njobs = n; + dest_host = host; + dest_port = port; + test_user = user; + test_name = testname; } return(0); @@ -200,8 +208,8 @@ glite_wll_perftest_produceEventString(char **event) cur_job, &jobid) != 0) { fprintf(stderr, "produceEventString: error creating jobid\n"); - return(-1) - } + return(-1); + } if((cur_jobid=edg_wlc_JobIdUnparse(jobid)) == NULL) { fprintf(stderr, "produceEventString: error unparsing jobid\n"); return(-1);