X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/087a9b2eaf10974c1b3025bf7d439c2371625e70..70d2939adaa6ee884690256fccba884f6cc606b0:/lib/mime.c diff --git a/lib/mime.c b/lib/mime.c index 9cc54d6..48354b3 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -110,7 +110,7 @@ static const char *skipwhite(const char *s, int rfc822_comments) { int c, depth; for(;;) { - switch(c = *s) { + switch(*s) { case ' ': case '\t': case '\r': @@ -402,7 +402,7 @@ int mime_multipart(const char *s, * @param s Start of field * @param dispositionp Where to store disposition * @param parameternamep Where to store parameter name - * @param parametervaluep Wher to store parameter value + * @param parametervaluep Where to store parameter value * @return 0 on success, non-0 on error * * See RFC 2388 s3