Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > c83e50267511ecff72557ff0fe13ba7b > files > 3

bootparamd-0.17-26.el5_7.1.src.rpm

--- netkit-bootparamd-0.17-pre20000412/rpc.bootparamd/callbootd.c.old	1997-09-23 10:39:26.000000000 +0200
+++ netkit-bootparamd-0.17-pre20000412/rpc.bootparamd/callbootd.c	2006-01-17 07:25:25.000000000 +0100
@@ -80,6 +80,10 @@
     
     if (!broadcast) {
 	clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp");
+	if(!clnt) {
+	    fprintf(stderr,"Unable to connect to '%s'.\n", server);
+	    exit(1);	    
+	}
     } 
 
     switch (argc) {