diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-10-15 21:00:27 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-10-15 21:00:27 +0000 |
commit | 0f07b696885778f40d6093aa312bebdb1507605e (patch) | |
tree | 6101b2138b539d677169922918afa3e8e481c82f /src | |
parent | def08461d4aaa178dc103130a6371c2669d7737f (diff) | |
download | weechat-0f07b696885778f40d6093aa312bebdb1507605e.zip |
Fixed typo with lines date when using /upgrade (makes weechat crash)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/session.c b/src/common/session.c index 5f9872e1b..a2c523855 100644 --- a/src/common/session.c +++ b/src/common/session.c @@ -377,7 +377,7 @@ session_save_line (FILE *file, t_gui_line *line) rc = rc && (session_write_int (file, SESSION_LINE_OFS_AFTER_DATE, line->ofs_start_message)); rc = rc && (session_write_int (file, SESSION_LINE_OFS_START_MESSAGE, line->ofs_start_message)); rc = rc && (session_write_str (file, SESSION_LINE_NICK, line->nick)); - rc = rc && (session_write_buf (file, SESSION_LINE_NICK, &(line->date), sizeof (time_t))); + rc = rc && (session_write_buf (file, SESSION_LINE_DATE, &(line->date), sizeof (time_t))); rc = rc && (session_write_id (file, SESSION_LINE_END)); return rc; } |