summaryrefslogtreecommitdiff
path: root/libmailutils/url/get-auth.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-05-22 09:05:42 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-05-22 09:05:42 +0300
commit0d271c3709f7f3da81285925b670cdb85b90ccbd (patch)
treeb70b8572bb4b1f75c4097183ca9a5f94c4bdf3f4 /libmailutils/url/get-auth.c
parentdd213e8c519df45f4a0b632d71691693ddf2502a (diff)
downloadmailutils-0d271c3709f7f3da81285925b670cdb85b90ccbd.tar.gz
mailutils-0d271c3709f7f3da81285925b670cdb85b90ccbd.tar.bz2
URL parser: use case-insensitive comparison for auth and host parts
* libmailutils/url/accessor.h: (URL_PART_CMP_ICASE) (URL_PART_CMP_ICASE): New defines. * libmailutils/url/get-auth.c: Request case-insensitive comparison. * libmailutils/url/get-host.c: Likewise.
Diffstat (limited to 'libmailutils/url/get-auth.c')
-rw-r--r--libmailutils/url/get-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmailutils/url/get-auth.c b/libmailutils/url/get-auth.c
index b9650a53c..c8c7ca7aa 100644
--- a/libmailutils/url/get-auth.c
+++ b/libmailutils/url/get-auth.c
@@ -1,3 +1,4 @@
#define URL_PART auth
+#define URL_PART_CMP_ICASE 1
#include "accessor.h"

Return to:

Send suggestions and report system problems to the System administrator.