# HG changeset patch # User Michiel Broek # Date 1450217640 -3600 # Node ID 0b2ea0ec165cc2143693ab4fb7b0d8847ea5d541 # Parent 1f88be70f253f03e4ceee93caed4b20607103a45 Removed some development traces. diff -r 1f88be70f253 -r 0b2ea0ec165c brewco/rdrecipes.c --- a/brewco/rdrecipes.c Tue Dec 15 23:11:42 2015 +0100 +++ b/brewco/rdrecipes.c Tue Dec 15 23:14:00 2015 +0100 @@ -366,17 +366,13 @@ recipe->endtime = (time_t)ival; xmlFree(key); } -fprintf(stdout, "cur %s\n", cur->name); if ((!xmlStrcmp(cur->name, (const xmlChar *)"MASHSTEPS"))) { s1cur = cur->xmlChildrenNode; i = 0; while (s1cur != NULL) { -fprintf(stdout, " s1cur %s\n", s1cur->name); - if ((!xmlStrcmp(s1cur->name, (const xmlChar *)"MASHSTEP"))) { s2cur = s1cur->xmlChildrenNode; while (s2cur != NULL) { -fprintf(stdout, " s2cur %s\n", s2cur->name); if ((!xmlStrcmp(s2cur->name, (const xmlChar *)"NAME"))) { recipe->mash[i].name = (char *)xmlNodeListGetString(doc, s2cur->xmlChildrenNode, 1); } @@ -436,12 +432,9 @@ s1cur = cur->xmlChildrenNode; i = 0; while (s1cur != NULL) { -fprintf(stdout, " s1cur %s\n", s1cur->name); - if ((!xmlStrcmp(s1cur->name, (const xmlChar *)"HOPADDITION"))) { s2cur = s1cur->xmlChildrenNode; while (s2cur != NULL) { -fprintf(stdout, " s2cur %s\n", s2cur->name); if ((!xmlStrcmp(s2cur->name, (const xmlChar *)"NAME"))) { recipe->hops[i].name = (char *)xmlNodeListGetString(doc, s2cur->xmlChildrenNode, 1); } @@ -463,12 +456,9 @@ s1cur = cur->xmlChildrenNode; i = 0; while (s1cur != NULL) { -fprintf(stdout, " s1cur %s\n", s1cur->name); - if ((!xmlStrcmp(s1cur->name, (const xmlChar *)"HOPSTAND"))) { s2cur = s1cur->xmlChildrenNode; while (s2cur != NULL) { -fprintf(stdout, " s2cur %s\n", s2cur->name); if ((!xmlStrcmp(s2cur->name, (const xmlChar *)"NAME"))) { recipe->hopstand[i].name = (char *)xmlNodeListGetString(doc, s2cur->xmlChildrenNode, 1); }