projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert previous SASL fix (wrong approach)
[mmh]
/
mts
/
smtp
/
hosts.c
diff --git
a/mts/smtp/hosts.c
b/mts/smtp/hosts.c
index
607f4ec
..
33eb9e6
100644
(file)
--- a/
mts/smtp/hosts.c
+++ b/
mts/smtp/hosts.c
@@
-36,7
+36,8
@@
static int init_hs(void);
char *
OfficialName (char *name)
{
char *
OfficialName (char *name)
{
- char *p, *q, site[BUFSIZ];
+ unsigned char *p;
+ char *q, site[BUFSIZ];
struct hostent *hp;
static char buffer[BUFSIZ];
struct hostent *hp;
static char buffer[BUFSIZ];
@@
-85,7
+86,8
@@
OfficialName (char *name)
static int
init_hs (void)
{
static int
init_hs (void)
{
- char *cp, *dp, **q, **r;
+ unsigned char *cp;
+ char *dp, **q, **r;
char buffer[BUFSIZ], *aliases[NALIASES];
register struct host *h;
register FILE *fp;
char buffer[BUFSIZ], *aliases[NALIASES];
register struct host *h;
register FILE *fp;