|
From: CORE C. L. <cor...@li...> - 2000-11-21 23:39:59
|
Core CVS committal
Author : rbdpngn
Project : core
Module : src
Modified Files:
account.c
Log Message:
Now all of the accounts will be displayed, not just the last one found.
===================================================================
RCS file: /cvsroot/corem/core/src/account.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- account.c 2000/11/21 17:59:01 1.8
+++ account.c 2000/11/21 23:39:59 1.9
@@ -293,8 +293,11 @@
if (stat(temp, &file_stat) < 0)
break;
- if (S_ISREG(file_stat.st_mode))
+ if (S_ISREG(file_stat.st_mode)) {
mbox = account_read(temp);
+ g_free(temp);
+ break;
+ }
/* g_free(dentry); */
g_free(temp);
|