COCANWIKI is now ~95% UTF-8 safe.
[cocanwiki.git] / scripts / rebuild_links.ml
index 21c2904..50e8d7e 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: rebuild_links.ml,v 1.6 2006/03/28 16:24:08 rich Exp $
+ * $Id: rebuild_links.ml,v 1.7 2006/07/27 16:46:55 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
@@ -63,7 +63,7 @@ let run r (q : cgi) dbh hostid _ _ =
       template#set "pc" (string_of_int pc);
       ignore (print_string r template#to_string);
 
-      let links = get_links_from_section dbh hostid content in
+      let links = get_links_from_section dbh hostid content in
       List.iter (insert_link dbh hostid url) links
   ) sections;