diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
commit | 2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6 (patch) | |
tree | 240cda05651bf8822b3eb47dee3a6781b064277a /seq.c | |
parent | c561aca4c9affa597d6a36d39d8a65c58ca78c87 (diff) | |
download | mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.gz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.xz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.zip |
clean up whitespace
Diffstat (limited to 'seq.c')
-rw-r--r-- | seq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/seq.c b/seq.c index 4fd6c28..f1fb6b1 100644 --- a/seq.c +++ b/seq.c @@ -72,19 +72,19 @@ struct msgnum { int msgnumorder(const void *a, const void *b) { - struct msgnum *ia = (struct msgnum *)a; - struct msgnum *ib = (struct msgnum *)b; + struct msgnum *ia = (struct msgnum *)a; + struct msgnum *ib = (struct msgnum *)b; - return strcmp(ia->file, ib->file); + return strcmp(ia->file, ib->file); } long blaze822_seq_find(char *file) { struct msgnum key, **result; - key.file = file; + key.file = file; - if (!(result = tfind(&key, &msgnums, msgnumorder))) + if (!(result = tfind(&key, &msgnums, msgnumorder))) return 0; return (*result)->pos; @@ -128,7 +128,7 @@ blaze822_seq_load(char *map) char * blaze822_seq_cur(void) { - static char b[PATH_MAX]; + static char b[PATH_MAX]; char *override = getenv("MAILDOT"); if (override) @@ -455,7 +455,7 @@ static long iterdir(char *dir, void (*cb)(char *)) { DIR *fd, *fd2; - struct dirent *d; + struct dirent *d; long i = 0; |