From owner-p4-projects@FreeBSD.ORG Sat Apr 7 09:55:43 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EE04016A403; Sat, 7 Apr 2007 09:55:42 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2B8216A401 for ; Sat, 7 Apr 2007 09:55:42 +0000 (UTC) (envelope-from bushman@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B38A713C45E for ; Sat, 7 Apr 2007 09:55:42 +0000 (UTC) (envelope-from bushman@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l379tgFu093707 for ; Sat, 7 Apr 2007 09:55:42 GMT (envelope-from bushman@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l379tgjd093704 for perforce@freebsd.org; Sat, 7 Apr 2007 09:55:42 GMT (envelope-from bushman@freebsd.org) Date: Sat, 7 Apr 2007 09:55:42 GMT Message-Id: <200704070955.l379tgjd093704@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bushman@freebsd.org using -f From: Michael Bushkov To: Perforce Change Reviews Cc: Subject: PERFORCE change 117576 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: Sat, 07 Apr 2007 09:55:43 -0000 http://perforce.freebsd.org/chv.cgi?CH=117576 Change 117576 by bushman@bushman_sh on 2007/04/07 09:54:51 - minor code cleanup Affected files ... .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getaddr.c#3 edit Differences ... ==== //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getaddr.c#3 (text+ko) ==== @@ -536,26 +536,3 @@ } -/*int -main(int argc, char **argv) -{ - debug = 1; - - char buffer[1024]; - struct addrinfo *ai; - struct addrinfo ai2; - int res; - - res = getaddrinfo("yandex.ru", NULL, NULL, &ai); - printf("== %d\n", res); - dump_addrinfo(ai); - - sdump_addrinfo(ai, buffer, sizeof(buffer)); - res = addrinfo_read_snapshot_func(&ai2, buffer); - printf("==2 %d\n", res); - dump_addrinfo(&ai2); - printf("==3 %d\n", compare_addrinfo(ai, &ai2, NULL)); - printf("==4 %d\n", addrinfo_test_correctness(ai, NULL)); - - return (0); -}*/