PERFORCE change 60894 for review
Peter Wemm
peter at FreeBSD.org
Thu Sep 2 15:19:08 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=60894
Change 60894 by peter at 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));
More information about the p4-projects
mailing list