Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2007 10:59:56 GMT
From:      Fredrik Lindberg <fli@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 127222 for review
Message-ID:  <200710051059.l95Axtpd088996@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127222

Change 127222 by fli@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);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710051059.l95Axtpd088996>