This commit is contained in:
Ivan Sorokin
2022-01-28 01:59:17 +03:00
parent 49fb982071
commit 36e5f53fed
+2 -2
View File
@@ -5696,11 +5696,11 @@ if( (GetKeyState(VK_MENU)&0x8000) && (wParam==VK_SPACE) ) {
memcpy(kev + 14, &type, sizeof(type));
// base64-encode kev
base64_encodestate _state;
base64_encodestate _state;
base64_init_encodestate(&_state);
char* out = malloc(15*2);
int count = base64_encode_block(kev, 15, out, &_state);
count += base64_encode_blockend(out + count, &_state);
count += base64_encode_blockend(out + count, &_state);
// send escape seq