Spelling

parent aa2dd82a
......@@ -1213,7 +1213,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
/* SECTION: stream.spec.frame_sendhex sendhex
*
* Push bytes directly on the wire. sendhex takes exactly one argument: a string
* describing the bytes, in hex notation, will possible whitespaces between
* describing the bytes, in hex notation, with possible whitespaces between
* them. Here's an example::
*
* sendhex "00 00 08 00 0900 8d"
......
......@@ -298,7 +298,7 @@ vmod_syntax(VRT_CTX, VCL_REAL r)
assert(ctx->syntax == 40 || ctx->syntax == 41);
/*
* We need to be careful because non-integer numbers have imprecise
* IEE754 represenation (4.1 is 0x1.0666666666666p+2 = 4.09999...)
* IEE754 representation (4.1 is 0x1.0666666666666p+2 = 4.09999...)
* By scaling up and rounding, this is taken care of.
*/
return (round(r * 10) <= ctx->syntax);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment