|
@@ -634,9 +634,9 @@ LSUP_graph_print (LSUP_Graph *gr)
|
|
|
LSUP_Triple *spo = NULL;
|
|
|
ct = 0;
|
|
|
LSUP_rc rc = LSUP_NORESULT;
|
|
|
- while (rc = LSUP_graph_iter_next (it, &spo) == LSUP_OK) {
|
|
|
+ while ((rc = LSUP_graph_iter_next (it, &spo)) == LSUP_OK) {
|
|
|
printf (
|
|
|
- "#%-6zu {%s %s %s}\n",
|
|
|
+ "#%-6zu {%s %s %s}\n",
|
|
|
ct, spo->s->data, spo->p->data, spo->o->data);
|
|
|
ct++;
|
|
|
}
|