Check for snprintf(3) failure.
Check for snprintf(3) failure.

The function must always return a 3.
If we get a different number or even a negative one indicating an
unlikely but possible error in the printf-engine we will probably
get into trouble.

kristapsdz/kcgi,kristapsdz/kcgi