Refer to nullptr not NULL
[folly.git] / folly / io / async / AsyncSSLSocket.cpp
index 234ab5ae9917c20ca217a0028cadedbad8ceccdf..1379bf90bc91fe37c0285cda33e7522882b85871 100644 (file)
@@ -406,7 +406,7 @@ size_t AsyncSSLSocket::getRawBytesWritten() const {
     return 0;
   }
   BIO* next = BIO_next(b);
-  while (next != NULL) {
+  while (next != nullptr) {
     b = next;
     next = BIO_next(b);
   }