mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Fix clortho
The suggested correection for clortho was in fact incorrect. Revert back and cast it.
This commit is contained in:
parent
bbe9bc3e06
commit
1645d47b73
@ -131,7 +131,7 @@ int main(int argc, char* argv[]) {
|
||||
buffer[currlen] = 0;
|
||||
}
|
||||
if (currtype == 2) {
|
||||
dprintf(sock, "\x03%zu", currlen);
|
||||
dprintf(sock, "\x03%c", (int)currlen);
|
||||
ret = write(sock, buffer, currlen);
|
||||
slen = strlen(cryptedpass) & 0xff;
|
||||
dprintf(sock, "\x04%c%s", slen, cryptedpass);
|
||||
|
Loading…
Reference in New Issue
Block a user