From: Harlan Stenn Date: Tue, 11 Jan 2011 01:41:18 +0000 (+0000) Subject: cleanup X-Git-Tag: NTP_4_2_7P131~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beacf12a9f33e8c25fe7d7ccaa9fbf78a8c7e8d4;p=thirdparty%2Fntp.git cleanup bk: 4d2bb53ezqfNNyYo2GnBFrFa94kXTQ --- diff --git a/sntp/main.c b/sntp/main.c index a3d59e002..6fa09ecef 100644 --- a/sntp/main.c +++ b/sntp/main.c @@ -50,7 +50,7 @@ static union { #define r_pkt rbuf.pkt -void handle_lookup( char *name, int flags ); +void handle_lookup( const char *name, int flags ); void dns_cb (int errcode, struct evutil_addrinfo *addr, void *ptr); void ntp_cb (evutil_socket_t, short, void *); void set_li_vn_mode (struct pkt *spkt, char leap, char version, char mode); @@ -193,7 +193,7 @@ sntp_main ( */ void handle_lookup( - char *name, + const char *name, int flags ) {