* insert correct port into jobid
authorMichal Voců <michal@ruk.cuni.cz>
Wed, 7 Jun 2006 20:06:53 +0000 (20:06 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Wed, 7 Jun 2006 20:06:53 +0000 (20:06 +0000)
org.glite.lb.common/src/lb_perftest.c

index da1f84e..8548964 100644 (file)
@@ -204,9 +204,9 @@ glite_wll_perftest_init(const char *host,
                dest_host = strdup(host);
                if(p) {
                        *p++ = ':';
-                       dest_port = atoi(p)+1;
+                       dest_port = atoi(p);
                } else 
-                       dest_port = GLITE_WMSC_JOBID_DEFAULT_PORT+1;
+                       dest_port = GLITE_WMSC_JOBID_DEFAULT_PORT;
        }
 
        /* reset event source */