minor fixes

This commit is contained in:
Alexander S. Aganichev
2001-02-19 22:53:24 +00:00
parent 741bd5e38b
commit 4d2f5ae1e5
8 changed files with 41 additions and 35 deletions

View File

@@ -200,7 +200,7 @@ int JamArea::load_message(int __mode, gmsg* __msg, JamHdr& __hdr) {
case JAMSUB_PID:
sprintf(_kludges+strlen(_kludges), "\001PID: %s\r", _buf);
strcpy(__msg->pid, _buf);
strxcpy(__msg->pid, _buf, sizeof(__msg->pid));
break;
case JAMSUB_TRACE: