diff options
Diffstat (limited to 'examples/replace.c')
| -rw-r--r-- | examples/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/replace.c b/examples/replace.c index b537ef88..69928917 100644 --- a/examples/replace.c +++ b/examples/replace.c @@ -13,7 +13,7 @@ int main () // Ustring positions: 0123456789*123456789*12345
cstr s = cstr_from(base); // "this is a test string."
cstr m = cstr_clone(s);
- c_defer (cstr_del(&s), cstr_del(&m)) {
+ c_fordefer ((cstr_del(&s), cstr_del(&m))) {
cstr_append(&m, m.str);
cstr_append(&m, m.str);
printf("%s\n", m.str);
|
