SICS compiles under RHEL7
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
#include <lld_blob.h>
|
||||
#include <dynstring.h>
|
||||
#include <stptok.h>
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
|
||||
#define OOM -5001 /* out of memory */
|
||||
#define TO -5002 /* timeout */
|
||||
@ -550,7 +550,7 @@ static int WriteResponseTask(void *pData)
|
||||
return 1;
|
||||
} else if(tokerr != json_tokener_success) {
|
||||
traceIO("RO","JSON parsing error %s on %s from %s %d",
|
||||
json_tokener_errors[tokerr], pText, self->host, self->jtok->char_offset);
|
||||
json_tokener_error_desc(tokerr), pText, self->host, self->jtok->char_offset);
|
||||
ANETreadConsume(self->handle,length);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user