PERFORCE change 127222 for review

Fredrik Lindberg fli at FreeBSD.org
Fri Oct 5 03:59:57 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127222

Change 127222 by fli at fli_genesis on 2007/10/05 10:59:46

	Must supply a pointer to a record_res {} as record_res_add() will
	return a pointer to the new resource through this argument.

Affected files ...

.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/input.c#2 edit

Differences ...

==== //depot/projects/soc2007/fli-mdns_sd/mdnsd/input.c#2 (text+ko) ====

@@ -134,7 +134,7 @@
 		error = mdns_pkg_getauth(pkg, i, &rs);
 		if (error != 0)
 			break;
-		record_res_add(&auth, NULL, 0, NULL, rs.r_name, rs.r_class,
+		record_res_add(&auth, &rr, 0, NULL, rs.r_name, rs.r_class,
 		    rs.r_type, rs.r_data, rs.r_datalen);
 	}
 


More information about the p4-projects mailing list