yukixz / cqsocketapi

CoolQ Socket API written in VC++.
65 stars 26 forks source link

存在消息无法解码的问题 #5

Closed MrJetChen closed 8 years ago

MrJetChen commented 8 years ago

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

yukixz commented 8 years ago

👻 谢谢 开个 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 https://github.com/yukixz/cqsocketapi/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ADLuwRwo9GIm6cptmjGhYj8u7AXdr_PHks5qeIB9gaJpZM4JgEyh .

Dazzy Ding Email: h@dazzyd.org

MrJetChen commented 8 years ago

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

yukixz commented 8 years ago

加油👻

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 https://github.com/yukixz/cqsocketapi/issues/5#issuecomment-238556441, or mute the thread https://github.com/notifications/unsubscribe-auth/ADLuwWanrVfBWsY7CRcvuuJSySpvGO3aks5qeIPLgaJpZM4JgEyh .

Dazzy Ding Email: h@dazzyd.org

MrJetChen commented 8 years ago

pr已提交

yukixz commented 8 years ago

done