summary refs log tree commit diff stats
path: root/src/common/hexchat.c
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-01-31 15:13:18 -0500
committerPatrick Griffis <tingping@tingping.se>2016-01-31 15:31:15 -0500
commit650bddcfd1399c875156cec8be37e331835ce129 (patch)
tree4c614087565cda60f7dea50532e4f041310c0fd0 /src/common/hexchat.c
parent089fe95a426dc59693618a2dd848fa726d7ccac4 (diff)
Improve scrollback file handling
- Properly use filesystem encoding
- Validate utf8 when loading (hopefully fixing crashes)
- Use Gio
- Handle Windows line endings
- Remove dead code
- Fix respecting max length of scrollback files
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r--src/common/hexchat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index a76db332..caa20eb7 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -447,7 +447,6 @@ session_new (server *serv, char *from, int type, int focus)
 
 	sess->server = serv;
 	sess->logfd = -1;
-	sess->scrollfd = -1;
 	sess->type = type;
 
 	sess->alert_beep = SET_DEFAULT;