From f726766c713a8123186899fc4e8222a8f7aaaa5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Tue, 28 Aug 2007 11:57:24 +0000 Subject: [PATCH] use new constant GLITE_JOBID_DEFAULT_PORT --- org.glite.lb.logger/src/event_queue.c | 2 +- org.glite.lb.proxy/src/lbproxy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.logger/src/event_queue.c b/org.glite.lb.logger/src/event_queue.c index 3851b71..2d5b64a 100644 --- a/org.glite.lb.logger/src/event_queue.c +++ b/org.glite.lb.logger/src/event_queue.c @@ -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)) { diff --git a/org.glite.lb.proxy/src/lbproxy.c b/org.glite.lb.proxy/src/lbproxy.c index afcba20..e976079 100644 --- a/org.glite.lb.proxy/src/lbproxy.c +++ b/org.glite.lb.proxy/src/lbproxy.c @@ -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); -- 1.8.2.3