git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Видалено не використовуваний метод USERS::SendMessage
[stg.git]
/
projects
/
sgconf
/
sginfo.cpp
diff --git
a/projects/sgconf/sginfo.cpp
b/projects/sgconf/sginfo.cpp
index c5ab3eaf4c8c62655793dd469dbd994e1435d258..1c9048e759996b453520bfeec72f34ea4b49c4d6 100644
(file)
--- a/
projects/sgconf/sginfo.cpp
+++ b/
projects/sgconf/sginfo.cpp
@@
-185,6
+185,8
@@
char * str;
str = new char[strlen(c) + 1];
strncpy(str, c, strlen(c));
+str[strlen(c)] = 0;
+
msg = strchr(str, ':');
if (msg)