diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-30 22:26:16 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-30 22:26:16 +0100 |
commit | f9756bd2e2711d58e06ad2a33ad3292ff10fc6da (patch) | |
tree | 213bb64648b12e823a0a427da26883e7b6a87436 /irc.h | |
parent | 5ecf96b935c6f6c0fba00d84cf7616ee04b06aed (diff) |
Changed charset handling: irc_t keeps two iconv structures, which are just
used for every line sent and received, so now there's no need to use
g_iconv_open() every time a message comes in/out. Also, fixed a small
memory leak that was there for a long time but somehow never caught my
attention.
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ typedef struct irc int pinging; char *sendbuffer; char *readbuffer; + GIConv iconv, oconv; int sentbytes; time_t oldtime; |