summaryrefslogtreecommitdiff
path: root/alpine/osdep/debuging.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
commit2695b63fbe6c6a2206a2637137c6cd654f69943a (patch)
tree717008efdac9ae66bf33985dc99ee68aea45bf11 /alpine/osdep/debuging.c
parent36b77661542a63c4579943951d143c8cc9c99460 (diff)
downloadalpine-2695b63fbe6c6a2206a2637137c6cd654f69943a.tar.xz
* Clear even more warnings from clang 3.5 and MAC OSX.
Diffstat (limited to 'alpine/osdep/debuging.c')
-rw-r--r--alpine/osdep/debuging.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/alpine/osdep/debuging.c b/alpine/osdep/debuging.c
index 55cbc9b9..4f115fe9 100644
--- a/alpine/osdep/debuging.c
+++ b/alpine/osdep/debuging.c
@@ -397,13 +397,13 @@ dump_config(struct pine *ps, gf_io_t pc, int brief)
(i == 3) ? vars->post_user_val.l :
(i == 4) ? vars->global_val.l
: vars->fixed_val.l;
- if(t && *t){
+ if(t && *t){ /* MAILTMPLEN = sizeof(tmp) */
snprintf(tmp, sizeof(tmp), " %20.20s : %.*s\n", vars->name,
- sizeof(tmp)-26, **t ? *t : quotes);
+ MAILTMPLEN-26, **t ? *t : quotes);
gf_puts(tmp, pc);
while(++t && *t){
snprintf(tmp, sizeof(tmp)," %20.20s : %.*s\n","",
- sizeof(tmp)-26, **t ? *t : quotes);
+ MAILTMPLEN-26, **t ? *t : quotes);
gf_puts(tmp, pc);
}
}
@@ -416,9 +416,9 @@ dump_config(struct pine *ps, gf_io_t pc, int brief)
(i == 3) ? vars->post_user_val.p :
(i == 4) ? vars->global_val.p
: vars->fixed_val.p;
- if(t){
+ if(t){ /* MAILTMPLEN = sizeof(tmp) */
snprintf(tmp, sizeof(tmp), " %20.20s : %.*s\n", vars->name,
- sizeof(tmp)-26, *t ? t : quotes);
+ MAILTMPLEN-26, *t ? t : quotes);
gf_puts(tmp, pc);
}
}