mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-09 08:42:22 -04:00
ITS#6541 off-by-one, account for 'Z' being replaced by sign of delta
This commit is contained in:
parent
5743591419
commit
73bb167e74
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ size_t lutil_localtime( char *s, size_t smax, const struct tm *tm, long delta )
|
|||
snprintf( p, smax - 15, "%02ld%02ld", delta / 3600,
|
||||
( delta % 3600 ) / 60 );
|
||||
|
||||
return ret + 5;
|
||||
return ret + 4;
|
||||
}
|
||||
|
||||
int lutil_tm2time( struct lutil_tm *tm, struct lutil_timet *tt )
|
||||
|
|
|
|||
Loading…
Reference in a new issue