From owner-p4-projects@FreeBSD.ORG Fri Oct 5 10:59:56 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BA90216A420; Fri, 5 Oct 2007 10:59:56 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4309B16A41A for ; Fri, 5 Oct 2007 10:59:56 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2669B13C458 for ; Fri, 5 Oct 2007 10:59:56 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l95AxuxW088999 for ; Fri, 5 Oct 2007 10:59:56 GMT (envelope-from fli@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l95Axtpd088996 for perforce@freebsd.org; Fri, 5 Oct 2007 10:59:56 GMT (envelope-from fli@FreeBSD.org) Date: Fri, 5 Oct 2007 10:59:56 GMT Message-Id: <200710051059.l95Axtpd088996@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to fli@FreeBSD.org using -f From: Fredrik Lindberg To: Perforce Change Reviews Cc: Subject: PERFORCE change 127222 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 10:59:57 -0000 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); }