Browse Source

Minor fixes.

scossu 1 week ago
parent
commit
513dee563a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/graph.c

+ 2 - 2
src/graph.c

@@ -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++;
     }