From: František Dvořák Date: Fri, 6 Feb 2009 10:34:06 +0000 (+0000) Subject: Cosmetics: prevent uninitialized value on the notif refresh, startup message typo. X-Git-Tag: glite-jobid-api-java_R_1_0_0_6~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cd171c6c866db6d78539ce80d3ededf51e733681;p=jra1mw.git Cosmetics: prevent uninitialized value on the notif refresh, startup message typo. --- 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)) )