[SCM] Samba Shared Repository - branch master updated

Amitay Isaacs amitay at samba.org
Thu Dec 11 21:03:02 MST 2014


The branch, master has been updated
       via  0d0a0f7 lib/util: Fix incorrect month in timestamps
      from  3554d88 vfs_streams_xattr: add missing call to SMB_VFS_NEXT_CONNECT

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0d0a0f79d387c45e697d9de46ffe5c46a1f39295
Author: Martin Schwenke <martin at meltin.net>
Date:   Fri Dec 12 10:57:37 2014 +1100

    lib/util: Fix incorrect month in timestamps
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11003
    
    Reported-by: Youzhong Yang <Youzhong.Yang at mathworks.com>
    Signed-off-by: Martin Schwenke <martin at meltin.net>
    Reviewed-by: Amitay Isaacs <amitay at gmail.com>
    
    Autobuild-User(master): Amitay Isaacs <amitay at samba.org>
    Autobuild-Date(master): Fri Dec 12 05:02:32 CET 2014 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/util/time_basic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/time_basic.c b/lib/util/time_basic.c
index 0eeb441..e4b0886 100644
--- a/lib/util/time_basic.c
+++ b/lib/util/time_basic.c
@@ -66,7 +66,7 @@ char *timeval_str_buf(const struct timeval *tp, bool rfc5424, bool hires,
 		       (rfc5424 ?
 			"%04d-%02d-%02dT%02d:%02d:%02d" :
 			"%04d/%02d/%02d %02d:%02d:%02d"),
-		       1900 + tm->tm_year, tm->tm_mon, tm->tm_mday,
+		       1900 + tm->tm_year, tm->tm_mon + 1, tm->tm_mday,
 		       tm->tm_hour, tm->tm_min, tm->tm_sec);
 
 	if ((rfc5424 || hires) && (len < sizeof(dst->buf))) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list