aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-12-20 05:58:55 -0300
committerdequis <dx@dxzone.com.ar>2015-12-20 15:29:38 -0300
commit72e2a0eb4cf6a3bfd6464ebf2d03cc83647568bd (patch)
treec3d3108ef63502d64fb8171e625780628f93c8b8 /facebook/facebook-api.c
parent0121bae03b6d545ff799f4b02c9b05becac1b78b (diff)
downloadbitlbee-facebook-72e2a0eb4cf6a3bfd6464ebf2d03cc83647568bd.tar.gz
bitlbee-facebook-72e2a0eb4cf6a3bfd6464ebf2d03cc83647568bd.tar.bz2
bitlbee-facebook-72e2a0eb4cf6a3bfd6464ebf2d03cc83647568bd.tar.xz
facebook-json:`Special-case "$" to return root for json-glib < 0.99.2
Older glib versions didn't consider "$" to be a valid expression, and threw this error: Root node followed by invalid character ' (That's supposed to be '%c' with a \0) Since this is possibly the simplest expression to parse, a g_strcmp0() can do the job. Thanks to advcomp2019 for reporting this bug and finding a test case where this issue is reproducible every time (receiving events of people joining or leaving in a groupchat) Also thanks to EionRobb who realized what the bug was three hours ago (and I didn't listen because I thought the previous bug was the same)
Diffstat (limited to 'facebook/facebook-api.c')
0 files changed, 0 insertions, 0 deletions