Changeset 137 for trunk/samba/source/web/swat.c
- Timestamp:
- Jun 22, 2008, 3:30:02 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/web/swat.c
r133 r137 87 87 /* Count the number of quotes. */ 88 88 newstring_len = 1; 89 while (*str) { 90 if ( *str == '\"') { 89 p = (char *) str; 90 while (*p) { 91 if ( *p == '\"') { 91 92 newstring_len += quote_len; 92 93 } else { 93 94 newstring_len++; 94 95 } 95 ++ str;96 ++p; 96 97 } 97 98 newstring = TALLOC_ARRAY(ctx, char, newstring_len); … … 106 107 *p++ = *str; 107 108 } 108 ++str;109 109 } 110 110 *p = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.