Cosmetics: prevent uninitialized value on the notif refresh, startup message typo.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 6 Feb 2009 10:34:06 +0000 (10:34 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 6 Feb 2009 10:34:06 +0000 (10:34 +0000)
org.glite.lb.server/src/bkserverd.c
org.glite.lb.server/src/notification.c

index 2635788..1bb48e2 100644 (file)
@@ -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
index 756098d..9b04920 100644 (file)
@@ -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)) )