COCANWIKI is now ~95% UTF-8 safe.
[cocanwiki.git] / scripts / mail_import.ml
index 572375d..582f104 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: mail_import.ml,v 1.14 2006/07/27 16:46:55 rich Exp $
+ * $Id: mail_import.ml,v 1.15 2006/08/16 15:27:02 rich Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -293,7 +293,7 @@ let run r (q : cgi) dbh hostid _ user =
          (fun line ->
             let find str sub_lc =
               try
-                String.find (String.lowercase str) sub_lc
+                String.find (lowercase str) sub_lc
               with
                   Invalid_string -> -1
             in