PERFORCE change 117576 for review

Michael Bushkov bushman at FreeBSD.org
Sat Apr 7 09:55:43 UTC 2007


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

Change 117576 by bushman at 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);
-}*/


More information about the p4-projects mailing list