diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
commit | 383b3f2ddbc1e2b64996958c1d9d944979fd190b (patch) | |
tree | 5c448e24f1b69593713b31529d1bdedf39a22a9d /src/HTInit.c | |
parent | d61bc4e56055c372ab0b8d027f376c2f4a2ecfff (diff) | |
download | lynx-snapshots-383b3f2ddbc1e2b64996958c1d9d944979fd190b.tar.gz |
snapshot of project "lynx", label v2-8-3dev_19
Diffstat (limited to 'src/HTInit.c')
-rw-r--r-- | src/HTInit.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/HTInit.c b/src/HTInit.c index a9506b8d..743c8ace 100644 --- a/src/HTInit.c +++ b/src/HTInit.c @@ -384,7 +384,7 @@ PRIVATE int ProcessMailcapEntry ARGS2( } else if (eq && !strcmp(arg, "q")) { mc->quality = (float)atof(eq); if (mc->quality > 0.000 && mc->quality < 0.001) - mc->quality = 0.001; + mc->quality = (float) 0.001; } else if (eq && !strcmp(arg, "mxb")) { mc->maxbytes = atol(eq); if (mc->maxbytes < 0) @@ -433,9 +433,11 @@ PRIVATE void BuildCommand ARGS5( *to++ = '%'; break; case 'n': + /* FALLTHRU */ case 'F': CTRACE((tfp, "BuildCommand: Bad mailcap \"test\" clause: %s\n", controlstring)); + /* FALLTHRU */ case 's': if (TmpFileLen && TmpFileName) { if ((to - *pBuf) + TmpFileLen + 1 > Bufsize) { @@ -896,15 +898,15 @@ PUBLIC void HTFileInit NOARGS HTSetSuffix(".bkp", "application/x-VMS BAK File", "binary", 1.0); HTSetSuffix(".bck", "application/x-VMS BAK File", "binary", 1.0); - HTSetSuffix(".bkp_gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); - HTSetSuffix(".bkp-gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); - HTSetSuffix(".bck_gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); - HTSetSuffix(".bck-gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); + HTSetSuffix5(".bkp_gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); + HTSetSuffix5(".bkp-gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); + HTSetSuffix5(".bck_gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); + HTSetSuffix5(".bck-gz", "application/octet-stream", "gzip", "GNU BAK File", 1.0); - HTSetSuffix(".bkp-Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); - HTSetSuffix(".bkp_Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); - HTSetSuffix(".bck-Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); - HTSetSuffix(".bck_Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); + HTSetSuffix5(".bkp-Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); + HTSetSuffix5(".bkp_Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); + HTSetSuffix5(".bck-Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); + HTSetSuffix5(".bck_Z", "application/octet-stream", "compress", "Comp. BAK File", 1.0); #else HTSetSuffix5(".bak", NULL, "binary", "Backup", 0.5); HTSetSuffix5(".bkp", "application/octet-stream", "binary", "VMS BAK File", 1.0); |