Mercurial > hg > nnchat
changeset 552:dfe46cd1b81b
Cosmetics, comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 12 Nov 2012 19:10:01 +0200 |
parents | 89fafb218396 |
children | b464409fa643 |
files | main.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Mon Nov 12 18:32:08 2012 +0200 +++ b/main.c Mon Nov 12 19:10:01 2012 +0200 @@ -57,8 +57,8 @@ *optSite = "NN", *optNickSepStr = NULL; char optNickSep; -BOOL optDaemon = FALSE; -BOOL setIgnoreMode = FALSE, +BOOL optDaemon = FALSE, + setIgnoreMode = FALSE, optDebug = FALSE, optLogEnable = FALSE, optOnlyFriendPrv = FALSE; @@ -1527,6 +1527,7 @@ } else { + // PRV chat log size_t pos; char *cleaned; @@ -1545,6 +1546,7 @@ th_free(cleaned); } + // Try to open the file for appending if (win->logFilename == NULL) goto error;