yukixz / cqsocketapi

CoolQ Socket API written in VC++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

存在消息无法解码的问题

MrJetChen opened this issue · comments

sscanf_s(payload, "%d %[^\n]", &id, text, sizeof(text));
这句中%d会使所有向服务器发送的消息无法被成功解读,经测试改为%I64D后可修复

👻 谢谢
开个 pr 吧 我的 vs 坏了

On Tuesday, 9 August 2016, MrJetChen notifications@github.com wrote:

sscanf_s(payload, "%d %[^\n]", &id, text, sizeof(text));
这句中%d会使所有向服务器发送的消息无法被成功解读,经测试改为%I64D后可修复


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLuwRwo9GIm6cptmjGhYj8u7AXdr_PHks5qeIB9gaJpZM4JgEyh
.

Dazzy Ding
Email: h@dazzyd.org

(其实我不会开PR…… 马上滚去学……)

加油👻

On Tuesday, 9 August 2016, MrJetChen notifications@github.com wrote:

(其实我不会开PR…… 马上滚去学……)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLuwWanrVfBWsY7CRcvuuJSySpvGO3aks5qeIPLgaJpZM4JgEyh
.

Dazzy Ding
Email: h@dazzyd.org

pr已提交

done