svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Sat Mar 24 13:09:08 UTC 2007


Author: vda
Date: 2007-03-24 06:09:07 -0700 (Sat, 24 Mar 2007)
New Revision: 18224

Log:
dnsd: last commit had a typo :(


Modified:
   trunk/busybox/networking/dnsd.c


Changeset:
Modified: trunk/busybox/networking/dnsd.c
===================================================================
--- trunk/busybox/networking/dnsd.c	2007-03-24 12:46:46 UTC (rev 18223)
+++ trunk/busybox/networking/dnsd.c	2007-03-24 13:09:07 UTC (rev 18224)
@@ -238,12 +238,12 @@
 	head = (struct dns_head *)buf;
 	if (head->nquer == 0) {
 		bb_error_msg("no queries");
-		retunr -1;
+		return -1;
 	}
 
 	if (head->flags & 0x8000) {
 		bb_error_msg("ignoring response packet");
-		retunr -1;
+		return -1;
 	}
 
 	from = (void *)&head[1];	//  start of query string
@@ -401,4 +401,5 @@
 			continue;
 		sendto(udps, buf, r, 0, &lsa->sa, fromlen);
 	}
+	return 0;
 }




More information about the busybox-cvs mailing list