Changeset 229
- Timestamp:
- Jun 9, 2011, 2:51:57 PM (13 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service.h
r216 r229 549 549 map* tmpV=getMap(res->content,"value"); 550 550 free(tmpV->value); 551 tmpV->value=(char*)malloc( atoi(tmp->value)*sizeof(char));551 tmpV->value=(char*)malloc((atoi(tmp->value)+1)*sizeof(char)); 552 552 memmove(tmpV->value,tmpSized,atoi(tmp->value)*sizeof(char)); 553 tmpV->value[atoi(tmp->value)]=0; 553 554 free(tmpSized); 554 555 } -
trunk/zoo-kernel/service_conf.l
r228 r229 41 41 42 42 attname [a-zA-Z0-9_\-]+ 43 attvalue1 [\^\*\+,;@a-zA-Z0-9_\-::.:" "\"\'/\\\(\)\t\| $><&]+43 attvalue1 [\^\*\+,;@a-zA-Z0-9_\-::.:" "\"\'/\\\(\)\t\|\$\&>]+ 44 44 45 45 attvalue \"[^"]*\"|\'[^']*\'\(\)
Note: See TracChangeset
for help on using the changeset viewer.