Fixed a bug in the conversion of 'mailto:' links to WebCit
authorArt Cancro <ajc@citadel.org>
Wed, 4 Jul 2007 03:46:43 +0000 (03:46 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 4 Jul 2007 03:46:43 +0000 (03:46 +0000)
mail links.

webcit/html2html.c

index 6d028d49488ad82c9208c642a8ef6b5c54b00d39..da668c71cdc985440a268689e891620daf5fed58 100644 (file)
@@ -306,7 +306,7 @@ void output_html(char *supplied_charset, int treat_as_wiki) {
                        }
                        sprintf(&converted_msg[output_length],
                                "<a href=\"display_enter?force_room=_MAIL_&recp=");
-                       output_length += 47;
+                       output_length += 46;
                        ptr = &ptr[16];
                        ++alevel;
                        ++brak;