Changeset 623 for trunk/zoo-project/zoo-kernel/service_internal_python.c
- Timestamp:
- Apr 9, 2015, 6:33:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_python.c
r581 r623 581 581 #endif 582 582 583 if(str cmp(PyString_AsString(key),"value")==0){583 if(strncmp(PyString_AsString(key),"value",5)==0){ 584 584 char *buffer=NULL; 585 585 Py_ssize_t size; … … 589 589 PyString_AsStringAndSize(value,&buffer,&size); 590 590 #endif 591 addToMapWithSize(res, "value",buffer,size);591 addToMapWithSize(res,PyString_AsString(key),buffer,size); 592 592 }else{ 593 593 char* lkey=PyString_AsString(key);
Note: See TracChangeset
for help on using the changeset viewer.