From 32b22df97d710fc5884ff7e97511769f8daad42f Mon Sep 17 00:00:00 2001 From: Javier Tia Date: Sun, 1 Nov 2015 15:04:47 -0600 Subject: [PATCH] ex19.c: replace ex20.c with ex19.c --- ex19/ex19.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ex19/ex19.c b/ex19/ex19.c index fda5e8d..ccc6923 100644 --- a/ex19/ex19.c +++ b/ex19/ex19.c @@ -1,4 +1,3 @@ - #include "dbg.h" #include #include @@ -36,7 +35,7 @@ int test_check(char *file_name) char *block = NULL; block = malloc(100); - check_mem(block); // should work + check_mem(block); // should work input = fopen(file_name, "r"); check(input, "Failed to open %s.", file_name); @@ -104,7 +103,7 @@ int main(int argc, char *argv[]) test_log_warn(); test_log_info(); - check(test_check("ex20.c") == 0, "failed with ex20.c"); + check(test_check("ex19.c") == 0, "failed with ex19.c"); check(test_check(argv[1]) == -1, "failed with argv"); check(test_sentinel(1) == 0, "test_sentinel failed."); check(test_sentinel(100) == -1, "test_sentinel failed.");