Completed client/server communications encoding

This commit is contained in:
Michiel Broek
2005-10-17 18:02:00 +00:00
parent 32e892d5b6
commit 2304c874a0
10 changed files with 59 additions and 50 deletions

View File

@@ -446,8 +446,7 @@ int reg_spm(char *data)
from = xstrcpy(cldecode(strtok(NULL, ",")));
too = xstrcpy(cldecode(strtok(NULL, ",")));
txt = xstrcpy(cldecode(strtok(NULL, ";")));
Syslog('-', "SIPM:%s,%s,%s,%s;", cnt, from, too, txt);
Syslog('+', "PM from \"%s\" to \"%s\": \"%s\"", from, too, txt);
for (i = 0; i < MAXCLIENT; i++) {
if (reginfo[i].pid && (strcasecmp(reginfo[i].uname, too) == 0)) {