Add some constness to make this WARNS clean again.

This commit is contained in:
dwmalone 2002-04-13 18:38:16 +00:00
parent 8ebc4f9dd6
commit 9504d77e9c

View File

@ -96,7 +96,7 @@ void put(int, char **);
void quit(int, char **);
void setascii(int, char **);
void setbinary(int, char **);
void setpeer0(char *, char *);
void setpeer0(char *, const char *);
void setpeer(int, char **);
void setrexmt(int, char **);
void settimeout(int, char **);
@ -177,12 +177,12 @@ char hostname[MAXHOSTNAMELEN];
void
setpeer0(host, port)
char *host;
char *port;
const char *port;
{
struct addrinfo hints, *res0, *res;
int error;
struct sockaddr_storage ss;
char *cause = "unknown";
const char *cause = "unknown";
if (connected) {
close(f);