Changeset 81 for trunk/src/sh_database.c
- Timestamp:
- Jan 13, 2007, 8:29:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_database.c
r76 r81 1535 1535 do 1536 1536 { 1537 if (*p <= 0x7F)1537 if (*p <= 126 && *p >= 32) 1538 1538 { 1539 1539 if (escp == 0) 1540 1540 { 1541 if (!((*p == '\'') || (*p == '\"') || (*p != '\\')))1541 if (!((*p == '\'') || (*p == '\"') || (*p == '\\'))) 1542 1542 /* do nothing */; 1543 else if (*p == '\\') escp = 1; 1544 else retv = S_FALSE; /* (*p == '\'' || *p == '\"') */ 1543 else if (*p == '\\') 1544 escp = 1; 1545 else 1546 retv = S_FALSE; /* (*p == '\'' || *p == '\"') */ 1545 1547 } 1546 1548 else /* escp == 1 */ … … 1549 1551 } 1550 1552 } 1551 else /* *p > 0x7F*/1553 else /* *p > 126 || *p < 32 */ 1552 1554 { 1553 1555 retv = S_FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.