From c536a979f5a213188ac54f5669ddf4b4ff48c218 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 07 9月 2019 22:13:32 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/open-license-manager/open-license-manager.git

---
 src/tools/bootstrap/bootstrap.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tools/bootstrap/bootstrap.cpp b/src/tools/bootstrap/bootstrap.cpp
index 98ad6b0..e3647de 100644
--- a/src/tools/bootstrap/bootstrap.cpp
+++ b/src/tools/bootstrap/bootstrap.cpp
@@ -10,7 +10,7 @@
 
 void write_pubkey_file(const string& public_fname, const string& pbPublicKey) {
 	FILE* fp = fopen(public_fname.c_str(), "w");
-	if (fp == NULL) {
+	if (fp == nullptr) {
 		throw ios_base::failure(string("can't create :") + public_fname);
 	}
 	fprintf(fp, "//file generated by bootstrap.cpp, do not edit.\n\n");
@@ -26,7 +26,7 @@
 
 void write_privkey_file(const string& private_fname, const string& privateKey) {
 	FILE* fp = fopen(private_fname.c_str(), "w");
-	if (fp == NULL) {
+	if (fp == nullptr) {
 		throw ios_base::failure(string("can't create :") + private_fname);
 	}
 	fprintf(fp, "//file generated by bootstrap.cpp, do not edit.\n\n");

--
Gitblit v1.9.1