summaryrefslogtreecommitdiffstats
path: root/innbbsd/antisplam.h
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/antisplam.h')
-rw-r--r--innbbsd/antisplam.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/innbbsd/antisplam.h b/innbbsd/antisplam.h
index f72f5348..dc55ef2f 100644
--- a/innbbsd/antisplam.h
+++ b/innbbsd/antisplam.h
@@ -1,24 +1,24 @@
#define char_lower(c) ((c >= 'A' && c <= 'Z') ? c|32 : c)
-#if 0 /* string.h , libc */
+#if 0 /* string.h , libc */
int
strcasestr(str, tag)
- char *str, *tag; /* tag : lower-case string */
+ char *str, *tag; /* tag : lower-case string */
{
- char buf[256];
+ char buf[256];
- str_lower(buf, str);
- return (int) strstr(buf, tag);
+ str_lower(buf, str);
+ return (int)strstr(buf, tag);
}
#endif
int
bad_subject(char *subject)
{
- char *badkey[] = {"µL½X","avcd","mp3",NULL};
- int i;
- for(i=0; badkey[i]; i++)
- if(strcasestr(subject, badkey[i])) return 1;
- return 0;
-}
-
+ char *badkey[] = {"µL½X", "avcd", "mp3", NULL};
+ int i;
+ for (i = 0; badkey[i]; i++)
+ if (strcasestr(subject, badkey[i]))
+ return 1;
+ return 0;
+}