}
/* Make links open in a separate window */
else if (!strncasecmp(ptr, "<A HREF=", 8)) {
}
/* Make links open in a separate window */
else if (!strncasecmp(ptr, "<A HREF=", 8)) {
sprintf(&converted_msg[output_length], new_window);
output_length += strlen(new_window);
ptr = &ptr[8];
sprintf(&converted_msg[output_length], new_window);
output_length += strlen(new_window);
ptr = &ptr[8];
}
/* Turn anything that looks like a URL into a real link, as long
* as it's not inside a tag already
*/
}
/* Turn anything that looks like a URL into a real link, as long
* as it's not inside a tag already
*/
&& (!strncasecmp(ptr, "http://", 7))) {
linklen = 0;
/* Find the end of the link */
&& (!strncasecmp(ptr, "http://", 7))) {
linklen = 0;
/* Find the end of the link */