summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/configtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/configtest.cc b/test/configtest.cc
index e12123f..6adcd39 100644
--- a/test/configtest.cc
+++ b/test/configtest.cc
@@ -40,7 +40,7 @@ protected:
virtual bool open(std::string mode)
{
fp = fopen("test.conf", mode.c_str());
- return fp != nullptr;
+ return fp != NULL;
}
};