summaryrefslogtreecommitdiffstats
path: root/getdomain.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
commita3f726e35f1e7d918061074a85ebe7a2c7c300a5 (patch)
treed9ab2a281be2a13fbb1ec8682d4e5c7ff0502cde /getdomain.c
parent912c6b0df82fe3a2745d68131db9300222226a73 (diff)
Introduce or rewrite mutt_{str*cmp,strlen} and use them all over the
place. If there are still segmentation faults due to missing NONULLs over, they are gone now.
Diffstat (limited to 'getdomain.c')
-rw-r--r--getdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getdomain.c b/getdomain.c
index 6d19bf94..ff77d4ec 100644
--- a/getdomain.c
+++ b/getdomain.c
@@ -29,7 +29,7 @@ int getdnsdomainname (char *s, size_t l)
{
p = tmp;
while (ISSPACE (*p)) p++;
- if (strncmp ("domain", p, 6) == 0 || strncmp ("search", p, 6) == 0)
+ if (mutt_strncmp ("domain", p, 6) == 0 || mutt_strncmp ("search", p, 6) == 0)
{
p += 6;
while (ISSPACE (*p)) p++;