thread_fix_old_links
thread_fix_old_links(nmessage, min(omsgCount, nmsgCount));
void thread_fix_old_links(struct message *, int);