From 25fe18c59c45e14559cba21c65938c6d7cbb6361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Tue, 6 Nov 2012 18:01:23 +0100 Subject: [PATCH] Fix warning in test_logging.c --- test/test_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_logging.c b/test/test_logging.c index 1dfaaf9..c5ef3ea 100644 --- a/test/test_logging.c +++ b/test/test_logging.c @@ -312,7 +312,7 @@ START_TEST (test_logfile_invalid_file_after_repoen) logging_rm_subdir(); rc = access(SUBDIR_FILE_NAME, W_OK); - fail_if(rc == NULL, "Test setup is wrong. Can still access" SUBDIR_FILE_NAME "\n"); + fail_if(rc == 0, "Test setup is wrong. Can still access" SUBDIR_FILE_NAME "\n"); UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson %d\n", 1); UC_LOGF(UC_LL_WARNING, 0, "Lorum ipson %d\n", 1);