]> git.ipfire.org Git - thirdparty/json-c.git/commit
Fix broken build by using ADVANCE_CHAR macro return. 71/head
authorWilliam Dignazio <slackwill@csh.rit.edu>
Thu, 7 Mar 2013 01:18:14 +0000 (20:18 -0500)
committerWilliam Dignazio <slackwill@csh.rit.edu>
Thu, 7 Mar 2013 01:18:14 +0000 (20:18 -0500)
commit32eddd66f510fb13ef61d4ecab5296bcb771f111
tree2d23392418de7b0a1dc4def30238657c5be7af30
parentbb492d4d69f50f09191705f7e32204f99ca31c1b
Fix broken build by using ADVANCE_CHAR macro return.

We forget to check or use the return value of the ADVANCE_CHAR macro,
and upon compilation an error is thrown because of its lack of use. This
patch checks to see if the macro was successful, and if not replaces the
offending character with a replacement.
json_tokener.c