- Fixes to make SL6 work
- New NeXus libraries - Added new raw binary transfer mode for mass data - Added a check script option to configurable virtual motor SKIPPED: psi/dumprot.c psi/make_gen psi/psi.c psi/rebin.c psi/sanslirebin.c
This commit is contained in:
@ -715,7 +715,7 @@ int SCWriteJSON_String(SConnection * pCon, char *pBuffer, int iOut)
|
||||
/* print it to client if error message */
|
||||
if ((iOut == eError) || (iOut == eWarning)) {
|
||||
tmp_json = json_object_new_string(pBuffer);
|
||||
iRet = SCDoSockWrite(pCon, json_object_to_json_string(tmp_json));
|
||||
iRet = SCDoSockWrite(pCon, (char *)json_object_to_json_string(tmp_json));
|
||||
}
|
||||
} else {
|
||||
if ((my_object = mkJSON_Object(pCon, pBuffer, iOut)) == NULL) {
|
||||
@ -724,10 +724,10 @@ int SCWriteJSON_String(SConnection * pCon, char *pBuffer, int iOut)
|
||||
tmp_json = json_object_new_string(errBuff);
|
||||
my_object = json_object_new_object();
|
||||
json_object_object_add(my_object, "ERROR", tmp_json);
|
||||
SCDoSockWrite(pCon, json_object_to_json_string(my_object));
|
||||
SCDoSockWrite(pCon, (char *)json_object_to_json_string(my_object));
|
||||
iRet = 0;
|
||||
} else {
|
||||
iRet = SCDoSockWrite(pCon, json_object_to_json_string(my_object));
|
||||
iRet = SCDoSockWrite(pCon, (char *)json_object_to_json_string(my_object));
|
||||
}
|
||||
}
|
||||
if (tmp_json != NULL && !is_error(tmp_json))
|
||||
|
Reference in New Issue
Block a user