projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
getdomain.c
diff --git
a/getdomain.c
b/getdomain.c
index
d11c26d
..
ee711cc
100644
(file)
--- 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
#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++;
p = tmp;
while (ISSPACE (*p))
p++;
- if (
mutt_str
ncmp ("domain", p, 6) == 0
- ||
mutt_str
ncmp ("search", p, 6) == 0) {
+ if (
str_
ncmp ("domain", p, 6) == 0
+ ||
str_
ncmp ("search", p, 6) == 0) {
p += 6;
for (q = strtok (p, " \t\n"); q; q = strtok (NULL, " \t\n"))
p += 6;
for (q = strtok (p, " \t\n"); q; q = strtok (NULL, " \t\n"))