Merge pull request #95 from JeffMoyer/issue-93

FileUnopen: always return a valid file descriptor
This commit is contained in:
Bryan Stansell 2024-02-17 10:23:09 -08:00 committed by GitHub
commit 28837087b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -708,7 +708,7 @@ FileUnopen(CONSFILE *cfp)
break;
#if HAVE_OPENSSL
case SSLSocket:
retval = -1;
retval = cfp->fd;
break;
#endif
default: