There's no need to dynamically allocate encode_string, so just make it static. It does need to be unsigned char though, for the loop that intialises it. So cast it when calling my_encrypt() / my_decrypt().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0