this might fix that not parsing smileys at end of line (really smileys
butted up against a tag, e.g. ":-)")
But I didn't have time to test it. But at least it compiles.
/*
** Send commands to gaim via ~/.gaim/control
**
** By Eric Warmenhoven <eric@warmenhoven.org>
** compile fixes/mini hacks Alex Bennee <alex@bennee.com>