Major revisions to 'backend' code

This commit is contained in:
whydoubt
2004-06-11 13:56:39 +00:00
parent 8e5b7ee293
commit 402e6be097
6 changed files with 125 additions and 136 deletions

View File

@@ -114,10 +114,9 @@ main (int argc, char **argv)
fprintf (stdout, "\n\n");
fprintf (stdout, "-- CREATE ANY Relationships ...\n");
fprintf (stdout, "\n");
the_relation=mdb_get_relationships(mdb);
while (the_relation[0] != '\0') {
while ((the_relation=mdb_get_relationships(mdb)) != NULL) {
fprintf(stdout,"%s\n",the_relation);
the_relation=mdb_get_relationships(mdb);
g_free(the_relation);
}
g_free(namespace);