Changeset 84239b1 in mainline for uspace/lib/bithenge/src/print.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/print.c

    r850fd32 r84239b1  
    162162        const char *value = bithenge_string_node_value(node);
    163163        state_printf(state, "\"");
    164         for (string_iterator_t i = string_iterator(value); !string_iterator_done(&i); ) {
     164        string_iterator_t i = string_iterator(value);
     165        while (!string_iterator_done(&i)) {
    165166                wchar_t ch;
    166167                errno_t rc = string_iterator_next(&i, &ch);
Note: See TracChangeset for help on using the changeset viewer.