From: Miloš Mulač Date: Tue, 28 Aug 2007 11:57:24 +0000 (+0000) Subject: use new constant GLITE_JOBID_DEFAULT_PORT X-Git-Tag: glite-yaim-myproxy_R_4_0_1_1~32 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f726766c713a8123186899fc4e8222a8f7aaaa5a;p=jra1mw.git use new constant GLITE_JOBID_DEFAULT_PORT --- 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);