projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed output of "-0500" vs. "+0500" type of timezone stamps in RFC822.
[citadel.git]
/
citadel
/
genstamp.c
diff --git
a/citadel/genstamp.c
b/citadel/genstamp.c
index b4300fe83b9236ca62ebfb32a0f38216cc09dcec..09fe1946957e645a249d391160de2badcf47ada4 100644
(file)
--- a/
citadel/genstamp.c
+++ b/
citadel/genstamp.c
@@
-58,11
+58,11
@@
void datestring(char *buf, size_t n, time_t xtime, int which_format) {
offset = timezone;
#endif
if (offset > 0) {
- offsign = '
-
';
+ offsign = '
+
';
}
else {
offset = 0L - offset;
- offsign = '
+
';
+ offsign = '
-
';
}
offset = ( (offset / 3600) * 100 ) + ( offset % 60 );