projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566a313
)
ftpd: fix MDTM's month value. Closes 5336
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 10 Jul 2012 22:16:08 +0000
(
00:16
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 10 Jul 2012 22:16:08 +0000
(
00:16
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ftpd.c
patch
|
blob
|
history
diff --git
a/networking/ftpd.c
b/networking/ftpd.c
index
1c97df5
..
4ba96cf
100644
(file)
--- a/
networking/ftpd.c
+++ b/
networking/ftpd.c
@@
-821,7
+821,7
@@
handle_size_or_mdtm(int need_size)
gmtime_r(&statbuf.st_mtime, &broken_out);
sprintf(buf, STR(FTP_STATFILE_OK)" %04u%02u%02u%02u%02u%02u\r\n",
broken_out.tm_year + 1900,
- broken_out.tm_mon,
+ broken_out.tm_mon
+ 1
,
broken_out.tm_mday,
broken_out.tm_hour,
broken_out.tm_min,