Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 8772154ec803d75fb066e6f675425167 > files > 3

bootparamd-0.17-37.fc18.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) {