projects
/
framework
/
messaging
/
email-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72253fe
)
Modified the value from f_bfree to f_bavail
author
Sunghyun Kwon
<sh0701.kwon@samsung.com>
Thu, 2 May 2013 09:10:05 +0000
(18:10 +0900)
committer
Sunghyun Kwon
<sh0701.kwon@samsung.com>
Thu, 2 May 2013 09:10:05 +0000
(18:10 +0900)
email-core/email-core-utils.c
patch
|
blob
|
history
diff --git
a/email-core/email-core-utils.c
b/email-core/email-core-utils.c
index
3dd7dbb
..
a15167a
100755
(executable)
--- a/
email-core/email-core-utils.c
+++ b/
email-core/email-core-utils.c
@@
-937,8
+937,8
@@
int emcore_is_storage_full(int *err_code)
goto FINISH_OFF;
}
else {
- long i_free = (buf.f_b
free
* buf.f_bsize) / (1024 * 1024);
- EM_DEBUG_LOG("f_bfree[%d] f_bsize[%d]", buf.f_b
free
, buf.f_bsize);
+ long i_free = (buf.f_b
avail
* buf.f_bsize) / (1024 * 1024);
+ EM_DEBUG_LOG("f_bfree[%d] f_bsize[%d]", buf.f_b
avail
, buf.f_bsize);
EM_DEBUG_LOG("Free space of storage is[%ld] MB.", i_free);
if (i_free < EMAIL_LIMITATION_FREE_SPACE)
err = EMAIL_ERROR_MAIL_MEMORY_FULL;