Changeset 16214 for trunk/Ohana/src/opihi/cmd.basic/strsub.c
- Timestamp:
- Jan 23, 2008, 2:25:29 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.basic/strsub.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.basic/strsub.c
r16168 r16214 42 42 while (*p && ((q = strstr (p, key)) != NULL)) { 43 43 output = opihi_append (output, &Noutput, p, q); 44 output = opihi_append (output, &Noutput, value, strlen(value));44 output = opihi_append (output, &Noutput, value, value + strlen(value)); 45 45 p = q + Nkey; 46 46 } 47 47 if (*p) { 48 output = opihi_append (output, &Noutput, p, strlen(p));48 output = opihi_append (output, &Noutput, p, p + strlen(p)); 49 49 } 50 50
Note:
See TracChangeset
for help on using the changeset viewer.
