| 861 |
861 |
| 862 if(name.length == 0 || value.length == 0) { |
862 if(name.length == 0 || value.length == 0) { |
| 863 return -1; |
863 return -1; |
| 864 } |
864 } |
| 865 |
865 |
| 866 if(!cx_strcasecmp((cxstring){name.ptr, name.length}, (cxstring)CX_STR("status"))) { |
866 if(!cx_strcasecmp(cx_strn(name.ptr, name.length), CX_STR("status"))) { |
| 867 cxmutstr codestr = value; |
867 cxmutstr codestr = value; |
| 868 int j; |
868 int j; |
| 869 for(j=0;j<codestr.length;j++) { |
869 for(j=0;j<codestr.length;j++) { |
| 870 if(!isdigit(codestr.ptr[j])) { |
870 if(!isdigit(codestr.ptr[j])) { |
| 871 break; |
871 break; |