git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
05b4f5e
)
Fix typo in comment
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 17 Dec 2015 08:26:09 +0000 (09:26 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 17 Dec 2015 08:26:09 +0000 (09:26 +0100)
src/filefunc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/filefunc.cpp
b/src/filefunc.cpp
index
80790fc
..
8b1b2f5
100644
(file)
--- a/
src/filefunc.cpp
+++ b/
src/filefunc.cpp
@@
-1016,7
+1016,7
@@
long long du(const std::string &path, std::string *error)
std::vector<std::string> dirents = get_dir(path, false);
BOOST_FOREACH(const std::string &filename, dirents)
{
- // Delete subdir or file.
+ // calculate size of subdir or file
long long rtn = du(path + "/" + filename, error);
if (rtn == -1)
return -1;