From: pcarana Date: Tue, 24 Nov 2020 00:32:21 +0000 (-0600) Subject: Remove debug comments and code X-Git-Tag: v1.5.0~11 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=83d9d87ec706eadc96b800b0770a1fd5ea3f1901;p=thirdparty%2FFORT-validator.git Remove debug comments and code --- diff --git a/src/config/init_tals.c b/src/config/init_tals.c index 07c114ab..682d47f1 100644 --- a/src/config/init_tals.c +++ b/src/config/init_tals.c @@ -8,14 +8,6 @@ #define JSON_MEMBER_URL "url" #define JSON_MEMBER_MESSAGE "accept-message" -// -//struct init_location { -// char *url; -// char *accept_message; -// SLIST_ENTRY(init_location) next; -//}; -// -//SLIST_HEAD(init_locations, init_location); static int init_location_create(char const *url, struct init_location **result) @@ -139,10 +131,6 @@ init_locations_foreach(struct init_locations *locations, int error; SLIST_FOREACH(ptr, locations, next) { - // FIXME TEST - pr_op_err("--> foreach = %s, '%s'", ptr->url, - (ptr->accept_message == NULL) ? "NULL" : ptr->accept_message); - error = cb(ptr->url, ptr->accept_message, arg); if (error) return error;