projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41e5f96
)
Changed indentation to avoid a gcc warning.
master
author
Francois Fleuret
<francois@fleuret.org>
Sat, 10 Nov 2018 21:22:03 +0000
(22:22 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 10 Nov 2018 21:22:03 +0000
(22:22 +0100)
mymail.c
patch
|
blob
|
history
diff --git
a/mymail.c
b/mymail.c
index
a3da27a
..
a04fde8
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-456,7
+456,8
@@
void update_time(int db_key, const char *db_value, time_t *t) {
if(db_key == ID_LEADING_LINE) {
c = db_value;
- while(*c && *c != ' ') c++; while(*c && *c == ' ') c++;
+ while(*c && *c != ' ') c++;
+ while(*c && *c == ' ') c++;
/* printf("From %s", db_value); */
strptime(c, "%a %b %e %k:%M:%S %Y", &tm);
*t = mktime(&tm);