~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+ * Added wishlist entry re configurable port no.
[adns]
/
src
/
types.c
diff --git
a/src/types.c
b/src/types.c
index
43ccc2b
..
b1fdae7
100644
(file)
--- a/
src/types.c
+++ b/
src/types.c
@@
-851,7
+851,7
@@
static adns_status pap_mailbox822(const parseinfo *pai, int *cbyte_io, int max,
c= *p++;
if ((c&~128) < 32 || (c&~128) == 127) return adns_s_invaliddata;
if (c == '.' && !neednorm) neednorm= 1;
c= *p++;
if ((c&~128) < 32 || (c&~128) == 127) return adns_s_invaliddata;
if (c == '.' && !neednorm) neednorm= 1;
- else if (c==' ' || ctype_822special(c)) needquote++;
+ else if (c==' ' || c
>=127 || c
type_822special(c)) needquote++;
else neednorm= 0;
}
else neednorm= 0;
}