Date: Thu, 2 Sep 2004 22:19:07 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 60894 for review Message-ID: <200409022219.i82MJ7rM002901@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=60894 Change 60894 by peter@peter_daintree on 2004/09/02 22:18:31 Argh! remove some (presumably) debugging printfs from vendor code. These are Damn Annoying. They dont even consistently go to the same stream - one is stdout, the other is stderr. Affected files ... .. //depot/projects/hammer/contrib/ntp/ntpdate/ntpdate.c#4 edit Differences ... ==== //depot/projects/hammer/contrib/ntp/ntpdate/ntpdate.c#4 (text+ko) ==== @@ -1339,17 +1339,12 @@ hints.ai_family = ai_fam_templ; hints.ai_socktype = SOCK_DGRAM; - printf("Looking for host %s and service %s\n", serv, service); - error = getaddrinfo(serv, service, &hints, &addrResult); if (error != 0) { fprintf(stderr, "Error : %s\n", gai_strerror(error)); msyslog(LOG_ERR, "can't find host %s\n", serv); return; } - else { - fprintf(stderr, "host found : %s\n", stohost((struct sockaddr_storage*)addrResult->ai_addr)); - } server = (struct server *)emalloc(sizeof(struct server)); memset((char *)server, 0, sizeof(struct server));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409022219.i82MJ7rM002901>