We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1441cb8 commit 16902b0Copy full SHA for 16902b0
1 file changed
src/wolfsftp.c
@@ -4513,7 +4513,7 @@ static int SFTP_FreeHandles(WOLFSSH* ssh)
4513
/* mktime() expects month from 0 to 11. Nucleus months
4514
* are saved as 1 to 12. Hence 1 is being deducted to
4515
* make it compatible with Unix time stamp. */
4516
- #define WS_GETMON(d) (_GETMON(d) - 5)
+ #define WS_GETMON(d) (_GETMON(d) - 1)
4517
#define WS_GETHOUR(t) (_GETHOUR(t) - 1)
4518
#else
4519
#define WS_GETMON(d) _GETMON(d)
0 commit comments