We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64de7a2 commit 841f050Copy full SHA for 841f050
1 file changed
src/wolfsftp.c
@@ -4514,7 +4514,7 @@ static int SFTP_FreeHandles(WOLFSSH* ssh)
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) - 1)
4517
- #define WS_GETHOUR(t) (_GETHOUR(t) - 1)
+ #define WS_GETHOUR(t) _GETHOUR(t)
4518
#else
4519
#define WS_GETMON(d) _GETMON(d)
4520
#define WS_GETHOUR(t) _GETHOUR(t)
0 commit comments