|
Lines 196-201
static void on_get_http_response(const char *buffer, size_t buffer_len, gpointer
Link Here
|
| 196 |
|
196 |
|
| 197 |
QueryInfo *qi = (QueryInfo *)userdata; |
197 |
QueryInfo *qi = (QueryInfo *)userdata; |
| 198 |
NetDictResponse *resp = new NetDictResponse; |
198 |
NetDictResponse *resp = new NetDictResponse; |
|
|
199 |
resp->data = nullptr; |
| 199 |
resp->bookname = _("www.YouDao.com"); |
200 |
resp->bookname = _("www.YouDao.com"); |
| 200 |
resp->booklink = "http://www.youdao.com"; |
201 |
resp->booklink = "http://www.youdao.com"; |
| 201 |
resp->word = qi->word; // So neen't free qi->word; |
202 |
resp->word = qi->word; // So neen't free qi->word; |