X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=getdomain.c;h=20b270a81da085c6993ac3215bb1f7184022b5cd;hp=d11c26d84539ea65bb7ded65c276e5a90cafc652;hb=b08dddc66a9054c0740878e53dd76c770e761553;hpb=df70e07e24add1869bcc9b7af2277d9d0c09a281 diff --git a/getdomain.c b/getdomain.c index d11c26d..20b270a 100644 --- a/getdomain.c +++ b/getdomain.c @@ -1,3 +1,12 @@ +/* + * Copyright notice from original mutt: + * [none] + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ + #if HAVE_CONFIG_H # include "config.h" #endif @@ -45,8 +54,8 @@ int getdnsdomainname (char *s, size_t l) p = tmp; while (ISSPACE (*p)) p++; - if (mutt_strncmp ("domain", p, 6) == 0 - || mutt_strncmp ("search", p, 6) == 0) { + if (safe_strncmp ("domain", p, 6) == 0 + || safe_strncmp ("search", p, 6) == 0) { p += 6; for (q = strtok (p, " \t\n"); q; q = strtok (NULL, " \t\n"))