Changeset 04a7435f in mainline for uspace/app/bithenge/print.c
- Timestamp:
- 2012-06-26T19:56:26Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 978ccaf1
- Parents:
- f2da0bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/print.c
rf2da0bb r04a7435f 49 49 { 50 50 print_internal_data_t *data = (print_internal_data_t *)data_; 51 int rc ;51 int rc = EOK; 52 52 if (!data->first) 53 53 printf(", "); … … 59 59 rc = bithenge_print_node(data->type, key); 60 60 if (rc != EOK) 61 return rc;61 goto end; 62 62 if (add_quotes) 63 63 printf("\""); … … 65 65 rc = bithenge_print_node(data->type, value); 66 66 if (rc != EOK) 67 return rc; 68 return EOK; 67 goto end; 68 end: 69 bithenge_node_dec_ref(key); 70 bithenge_node_dec_ref(value); 71 return rc; 69 72 } 70 73
Note:
See TracChangeset
for help on using the changeset viewer.