aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-06-28 10:13:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-06-28 10:13:59 +0000
commit1b0445caadad8c59d0fc9ead943d4aa3f0f59275 (patch)
treefe2d43fa3cd35de4a525739ce456955a718ef818
parent2f57b3f62b4924846c8631dbd108ad3dbe7db932 (diff)
downloadfetchmail-1b0445caadad8c59d0fc9ead943d4aa3f0f59275.tar.gz
fetchmail-1b0445caadad8c59d0fc9ead943d4aa3f0f59275.tar.bz2
fetchmail-1b0445caadad8c59d0fc9ead943d4aa3f0f59275.zip
Handle 8-bit characters in uid items.
svn path=/trunk/; revision=2911
-rw-r--r--fetchmail.h4
-rw-r--r--mx.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail.h b/fetchmail.h
index efb16e47..4d4022be 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -122,7 +122,7 @@ struct runctl
struct idlist
{
- char *id;
+ unsigned char *id;
union
{
struct
@@ -135,7 +135,7 @@ struct idlist
#define UID_EXPUNGED 3 /* this message has been expunged */
}
status;
- char *id2;
+ unsigned char *id2;
} val;
struct idlist *next;
};
diff --git a/mx.h b/mx.h
index cc0e28d5..2aedf8a3 100644
--- a/mx.h
+++ b/mx.h
@@ -2,8 +2,8 @@
struct mxentry
{
- char *name;
- int pref;
+ unsigned char *name;
+ int pref;
};
extern struct mxentry * getmxrecords(const char *);