use new constant GLITE_JOBID_DEFAULT_PORT
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 28 Aug 2007 11:57:24 +0000 (11:57 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 28 Aug 2007 11:57:24 +0000 (11:57 +0000)
org.glite.lb.logger/src/event_queue.c
org.glite.lb.proxy/src/lbproxy.c

index 3851b71..2d5b64a 100644 (file)
@@ -47,7 +47,7 @@ event_queue_create(char *server_name)
 #if defined(IL_NOTIFICATIONS)
   eq->dest_port = atoi(p);
 #else
-  eq->dest_port = p ? atoi(p)+1 : GLITE_WMSC_JOBID_DEFAULT_PORT+1;
+  eq->dest_port = p ? atoi(p)+1 : GLITE_JOBID_DEFAULT_PORT+1;
 #endif
   /* create all necessary locks */
   if(pthread_rwlock_init(&eq->update_lock, NULL)) {
index afcba20..e976079 100644 (file)
@@ -240,7 +240,7 @@ int main(int argc, char *argv[])
 
        gethostname(host, sizeof host);
        host[sizeof host - 1] = 0;
-       asprintf(&port, "%d", GLITE_WMSC_JOBID_DEFAULT_PORT);
+       asprintf(&port, "%d", GLITE_JOBID_DEFAULT_PORT);
        dprintf(("server address: %s:%s\n", host, port));
 
        service_table[SRV_SERVE].conn = socket(PF_UNIX, SOCK_STREAM, 0);