diff options
| author | Tyge Lovset <[email protected]> | 2023-01-04 23:27:15 +0100 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-01-04 23:27:15 +0100 |
| commit | 1a98d0b660775f9a434197430905024519a0efbf (patch) | |
| tree | 3799e91c8e362b8baabcfa7ad3303717a05c5ba2 /misc/examples/sso_map.c | |
| parent | 86c9f85d6c76084009f274977525163a47360885 (diff) | |
| download | STC-modified-1a98d0b660775f9a434197430905024519a0efbf.tar.gz STC-modified-1a98d0b660775f9a434197430905024519a0efbf.zip | |
Small examples enhancements.
Diffstat (limited to 'misc/examples/sso_map.c')
| -rw-r--r-- | misc/examples/sso_map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/examples/sso_map.c b/misc/examples/sso_map.c index 3627d101..f88e5f79 100644 --- a/misc/examples/sso_map.c +++ b/misc/examples/sso_map.c @@ -6,12 +6,12 @@ int main() { c_AUTO (cmap_str, m) { - cmap_str_emplace(&m, "Test short", "This is a short string."); - cmap_str_emplace(&m, "Test long ", "This is a longer string."); + cmap_str_emplace(&m, "Test short", "This is a short string"); + cmap_str_emplace(&m, "Test long ", "This is a longer string"); c_FORPAIR (k, v, cmap_str, m) printf("%s: '%s' Len=%" c_ZU ", Is long: %s\n", cstr_str(_.k), cstr_str(_.v), cstr_size(_.v), - cstr_is_long(_.v)?"true":"false"); + cstr_is_long(_.v) ? "true" : "false"); } } |
