From: Damir Tomic Date: Fri, 19 Jun 2015 21:52:11 +0000 (+0200) Subject: kodFile.c: X-Git-Tag: NTP_4_3_43~2^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4426ab2bfc4a5d21aabac82c1933f30a7f27b13;p=thirdparty%2Fntp.git kodFile.c: removed debug printfs bk: 55848f0bxHBevjx-PrxJ0yswzB44VQ --- diff --git a/sntp/tests/kodFile.c b/sntp/tests/kodFile.c index ceacf2fd3..9bc616b61 100644 --- a/sntp/tests/kodFile.c +++ b/sntp/tests/kodFile.c @@ -74,9 +74,9 @@ void test_ReadFileWithBlankLines() { } void test_WriteEmptyFile() { - //kod_db_file = estrdup(CreatePath("kod-output-blank", OUTPUT_DIR)); + //kod_db_file = estrdup(CreatePath("kod-output-blank", OUTPUT_DIR)); //causing issues on psp-at1, replaced kod_db_file = estrdup("kod-output-blank"); - printf("kod PATH: %s\n",kod_db_file); + //printf("kod PATH: %s\n",kod_db_file); write_kod_db(); // Open file and ensure that the filesize is 0 bytes. @@ -90,9 +90,9 @@ void test_WriteEmptyFile() { } void test_WriteFileWithSingleEntry() { - //kod_db_file = estrdup(CreatePath("kod-output-single", OUTPUT_DIR)); - kod_db_file = estrdup("kod-output-single"); - printf("kod PATH: %s\n",kod_db_file); + //kod_db_file = estrdup(CreatePath("kod-output-single", OUTPUT_DIR)); //causing issues on psp-at1, replaced + kod_db_file = estrdup("kod-output-single"); + //printf("kod PATH: %s\n",kod_db_file); add_entry("host1", "DENY"); // Here we must manipulate the timestamps, so they match the one in @@ -114,9 +114,9 @@ void test_WriteFileWithSingleEntry() { } void test_WriteFileWithMultipleEntries() { - //kod_db_file = estrdup(CreatePath("kod-output-multiple", OUTPUT_DIR)); + //kod_db_file = estrdup(CreatePath("kod-output-multiple", OUTPUT_DIR)); //causing issues on psp-at1, replaced kod_db_file = estrdup("kod-output-multiple"); - printf("kod PATH: %s\n",kod_db_file); + //printf("kod PATH: %s\n",kod_db_file); add_entry("example.com", "RATE"); add_entry("192.0.2.1", "DENY"); add_entry("192.0.2.5", "RSTR");