From c2397475c5105dc6d5db1fac0ee1d8f33b77b237 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 16 Jul 2000 20:18:05 +0000 Subject: Cleaned up code. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/rawlog.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/rawlog.c') diff --git a/src/core/rawlog.c b/src/core/rawlog.c index 3f422fa1..d935d1ac 100644 --- a/src/core/rawlog.c +++ b/src/core/rawlog.c @@ -56,7 +56,8 @@ static void rawlog_add(RAWLOG_REC *rawlog, char *str) rawlog->nlines++; else { g_free(rawlog->lines->data); - rawlog->lines = g_slist_remove(rawlog->lines, rawlog->lines->data); + rawlog->lines = g_slist_remove(rawlog->lines, + rawlog->lines->data); } if (rawlog->logging) { @@ -113,7 +114,8 @@ void rawlog_open(RAWLOG_REC *rawlog, const char *fname) return; path = convert_home(fname); - rawlog->handle = open(path, O_WRONLY | O_APPEND | O_CREAT, log_file_create_mode); + rawlog->handle = open(path, O_WRONLY | O_APPEND | O_CREAT, + log_file_create_mode); g_free(path); rawlog_dump(rawlog, rawlog->handle); -- cgit v1.2.3