aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-08-31 17:30:17 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-08-31 17:30:17 +0200
commit66d0eff12fdf31e520493e7c2accb95410dcaec2 (patch)
treef67b59076967ec441daaf7e7c40c1d502a9136bd /blaze822.c
parentdfe09a7c5e3a2273f963d53432ef1686b34547db (diff)
downloadmblaze-66d0eff12fdf31e520493e7c2accb95410dcaec2.tar.gz
style
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/blaze822.c b/blaze822.c
index 5a6edd2..a06eb24 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -59,8 +59,8 @@ blaze822_date(char *s) {
while (iswsp(*s))
s++;
-
- if (i3("jan")) tm.tm_mon = 0;
+
+ if (i3("jan")) tm.tm_mon = 0;
else if (i3("feb")) tm.tm_mon = 1;
else if (i3("mar")) tm.tm_mon = 2;
else if (i3("apr")) tm.tm_mon = 3;
@@ -79,7 +79,7 @@ blaze822_date(char *s) {
while (iswsp(*s))
s++;
-
+
if ((c = parse_posint(&s, 1000, 9999)) > 0) {
tm.tm_year = c - 1900;
} else if ((c = parse_posint(&s, 0, 49)) > 0) {
@@ -143,7 +143,7 @@ blaze822_addr(char *s, char **dispo, char **addro)
if (addro) *addro = 0;
return 0;
}
-
+
c = disp;
e = disp + sizeof disp - 1;
@@ -151,7 +151,7 @@ blaze822_addr(char *s, char **dispo, char **addro)
*addr = 0;
while (*s && c < e) {
- startover:
+startover:
if (*s == '<') {
char *c = addr;
char *e = addr + sizeof addr;
@@ -188,7 +188,7 @@ blaze822_addr(char *s, char **dispo, char **addro)
} else if (*s == '(') { // XXX recurse to conform?
s++;
- if (!*addr) { // assume: user@host (name)
+ if (!*addr) { // assume: user@host (name)
*c-- = 0;
while (c > disp && iswsp(*c))
*c-- = 0;