Changeset 703 for trunk/zoo-project/zoo-kernel/request_parser.c
- Timestamp:
- Jun 30, 2015, 2:06:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r695 r703 952 952 xmlDocDumpFormatMemoryEnc (doc1, &mv, 953 953 &buffersize, 954 "utf-8", 1); 955 char size[1024]; 956 sprintf (size, "%d", buffersize); 957 addToMap (tmpmaps->content, "size", 958 size); 954 "utf-8", 0); 955 addIntToMap (tmpmaps->content, "size", 956 buffersize); 959 957 xmlFreeDoc (doc1); 960 958 } … … 967 965 xmlDocDumpFormatMemoryEnc (doc1, &mv, 968 966 &buffersize, 969 "utf-8", 1); 970 char size[1024]; 971 sprintf (size, "%d", buffersize); 972 addToMap (tmpmaps->content, "size", 973 size); 967 "utf-8", 0); 968 addIntToMap(tmpmaps->content, "size",buffersize); 974 969 xmlFreeDoc (doc2); 975 970 xmlFreeDoc (doc1); … … 990 985 { 991 986 addToMap (tmpmaps->content, "value", 992 (char 987 (char*) mv); 993 988 xmlFree (mv); 989 dumpMap(tmpmaps->content); 994 990 } 995 991 } 996 992 else 997 993 { 994 fprintf(stderr,"DEBUG %s %d \n",__FILE__,__LINE__); 998 995 xmlChar *tmp = xmlNodeListGetRawString (doc, 999 996 cur4->xmlChildrenNode, … … 1003 1000 xmlFree (tmp); 1004 1001 } 1002 1005 1003 cur4 = cur4->next; 1006 1004 }
Note: See TracChangeset
for help on using the changeset viewer.