new version of TecsServer and conversion utility M.Z.

This commit is contained in:
cvs
2004-06-15 06:03:33 +00:00
parent ce6001e443
commit e5fa7645b0
130 changed files with 7279 additions and 126 deletions

View File

@@ -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);