From cd171c6c866db6d78539ce80d3ededf51e733681 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 6 Feb 2009 10:34:06 +0000 Subject: [PATCH] Cosmetics: prevent uninitialized value on the notif refresh, startup message typo. --- org.glite.lb.server/src/bkserverd.c | 4 ++-- org.glite.lb.server/src/notification.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.server/src/bkserverd.c b/org.glite.lb.server/src/bkserverd.c index 2635788..1bb48e2 100644 --- a/org.glite.lb.server/src/bkserverd.c +++ b/org.glite.lb.server/src/bkserverd.c @@ -481,8 +481,8 @@ int main(int argc, char *argv[]) setlinebuf(stderr); dprintf(("\n")); - if (mode & SERVICE_PROXY) dprintf(("Staring LB proxy service\n")); - if (mode & SERVICE_SERVER) dprintf(("Staring LB server service\n")); + if (mode & SERVICE_PROXY) dprintf(("Starting LB proxy service\n")); + if (mode & SERVICE_SERVER) dprintf(("Starting LB server service\n")); dprintf(("\n")); // XXX: workaround for only preudoparallel job registration diff --git a/org.glite.lb.server/src/notification.c b/org.glite.lb.server/src/notification.c index 756098d..9b04920 100644 --- a/org.glite.lb.server/src/notification.c +++ b/org.glite.lb.server/src/notification.c @@ -609,7 +609,7 @@ static int update_notif( { char *nid_s = NULL, *host = NULL, *stmt = NULL, *aux = NULL; - int ret, port; + int ret, port = 0; if ( !(nid_s = edg_wll_NotifIdGetUnique(nid)) ) -- 1.8.2.3