mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
net.openssl: correctly assign nil to reference values after the recent notice about it (#19981)
This commit is contained in:
parent
eeb8d27c6d
commit
be544d73f3
@ -34,8 +34,8 @@ pub fn new_ssl_conn(config SSLConnectConfig) !&SSLConn {
|
||||
}
|
||||
mut conn := &SSLConn{
|
||||
config: config
|
||||
sslctx: 0
|
||||
ssl: 0
|
||||
sslctx: unsafe { nil }
|
||||
ssl: unsafe { nil }
|
||||
handle: 0
|
||||
}
|
||||
conn.init() or { return err }
|
||||
|
Loading…
x
Reference in New Issue
Block a user