浏览代码

minor tweak

David Rose 23 年之前
父节点
当前提交
a4bf09d581
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/downloader/httpChannel.cxx

+ 1 - 1
panda/src/downloader/httpChannel.cxx

@@ -889,7 +889,7 @@ run_ssl_handshake() {
 
 
   SSL *ssl;
   SSL *ssl;
   BIO_get_ssl(_sbio, &ssl);
   BIO_get_ssl(_sbio, &ssl);
-  nassertr(ssl != (SSL *)NULL, NULL);
+  nassertr(ssl != (SSL *)NULL, false);
 
 
   if (!_nonblocking) {
   if (!_nonblocking) {
     SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
     SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);