diff options
-rw-r--r-- | fetchmail.h | 2 | ||||
-rw-r--r-- | md5ify.c | 2 | ||||
-rw-r--r-- | mx.h | 6 | ||||
-rw-r--r-- | mxget.c | 2 | ||||
-rw-r--r-- | report.c | 8 |
5 files changed, 10 insertions, 10 deletions
diff --git a/fetchmail.h b/fetchmail.h index 9cc13b46..fb2f085e 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -290,7 +290,7 @@ int doETRN (struct query *); struct query *hostalloc(struct query *); int parsecmdline (int, char **, struct query *); void optmerge(struct query *, struct query *); -char *MD5Digest (char *); +char *MD5Digest (unsigned char *); int daemonize(const char *, void (*)(int)); char *getpassword(char *); void escapes(const char *, char *); @@ -20,7 +20,7 @@ char * MD5Digest (s) -char *s; +unsigned char *s; { int i; MD5_CTX context; @@ -2,11 +2,11 @@ struct mxentry { - char *name; - int pref; + unsigned char *name; + int pref; }; -extern struct mxentry * getmxrecords(const char *); +extern struct mxentry * getmxrecords(const unsigned char *); /* some versions of FreeBSD should declare this but don't */ extern int h_errno; @@ -40,7 +40,7 @@ /* minimum possible size of MX record in packet */ #define MIN_MX_SIZE 8 /* corresp to "a.com 0" w/ terminating space */ -struct mxentry *getmxrecords(const char *name) +struct mxentry *getmxrecords(const unsigned char *name) /* get MX records for given host */ { unsigned char answer[PACKETSZ], *eom, *cp, *bp; @@ -124,7 +124,7 @@ error (int status, int errnum, const char *message, ...) error (status, errnum, message, va_alist) int status; int errnum; - char *message; + const char *message; va_dcl #endif { @@ -267,7 +267,7 @@ void error_build (const char *message, ...) #else error_build (message, va_alist) - char *message; + const char *message; va_dcl #endif { @@ -369,7 +369,7 @@ error_complete (int status, int errnum, const char *message, ...) error_complete (status, errnum, message, va_alist) int status; int errnum; - char *message; + const char *message; va_dcl #endif { @@ -487,7 +487,7 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist) int errnum; const char *file_name; unsigned int line_number; - char *message; + const char *message; va_dcl #endif { |