]>
Commit | Line | Data |
---|---|---|
14855c50 AM |
1 | diff -urN cvs-1.12.13.org/src/status.c cvs-1.12.13/src/status.c |
2 | --- cvs-1.12.13.org/src/status.c 2005-09-22 20:38:28.000000000 +0200 | |
3 | +++ cvs-1.12.13/src/status.c 2007-11-06 09:55:55.830920982 +0100 | |
4 | @@ -213,8 +213,9 @@ | |
5 | cvs_output (" Working revision:\t", 0); | |
6 | cvs_output (vers->vn_user, 0); | |
7 | ||
8 | - /* Only add the UTC timezone if there is a time to use. */ | |
9 | - if (!server_active && strlen (vers->ts_rcs) > 0) | |
10 | + /* Only add the UTC timezone if there is a time to use. | |
11 | + * ts_rcs sometimes contains only "=" character so we check len > 1 */ | |
12 | + if (!server_active && strlen (vers->ts_rcs) > 1) | |
13 | { | |
14 | /* Convert from the asctime() format to ISO 8601 */ | |
15 | char *buf; |