new version of TecsServer and conversion utility M.Z.
This commit is contained in:
@@ -154,8 +154,9 @@ int StrPut(StrBuf *buf, const char *str, int sep) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (pos+l >= buf->dsize)
|
||||
ERR_MSG("buffer too short");
|
||||
if (pos+l >= buf->dsize) {
|
||||
ERR_MSG("buffer too short");
|
||||
}
|
||||
if (quote!='\0') {
|
||||
buf->buf[pos]=quote; pos++;
|
||||
strcpy(buf->buf + pos, str);
|
||||
|
||||
Reference in New Issue
Block a user