Fix in calculating the needed buffer length for escaped strings.

This commit is contained in:
Ralph Lange
2009-04-02 13:05:42 +00:00
parent e484093493
commit 433e400c4d

View File

@@ -157,7 +157,7 @@ size_t epicsStrnEscapedFromRawSize(const char *inbuf, size_t inlen)
break;
default:
if (!isprint((int)c))
nout += 4;
nout += 3;
break;
}
}