Mercurial > hg
changeset 1303:b6fdbfa6b219
Minor whitespace change
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 07 Sep 2007 17:07:05 +0200 |
parents | 1abddbec502a |
children | 8ada97e5eb75 |
files | mcabber/src/histolog.c mcabber/src/otr.c |
diffstat | 2 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/histolog.c Thu Aug 30 09:57:01 2007 +0200 +++ b/mcabber/src/histolog.c Fri Sep 07 17:07:05 2007 +0200 @@ -66,13 +66,12 @@ struct stat bufstat; char *path; char *log_jid = NULL; - + path = user_histo_file(bjid); - do { - /*scr_LogPrint(LPRINT_NORMAL, "path=%s", path);*/ - if(lstat(path, &bufstat) != 0) + do { + if (lstat(path, &bufstat) != 0) break; - if(S_ISLNK(bufstat.st_mode)) { + if (S_ISLNK(bufstat.st_mode)) { g_free(log_jid); log_jid = g_new(char, bufstat.st_size+1); readlink(path, log_jid, bufstat.st_size);