diff options
Diffstat (limited to 'netwerk/socket/neqo_glue/src')
-rw-r--r-- | netwerk/socket/neqo_glue/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/socket/neqo_glue/src/lib.rs b/netwerk/socket/neqo_glue/src/lib.rs index 6c86211ed5..fd527a7fb9 100644 --- a/netwerk/socket/neqo_glue/src/lib.rs +++ b/netwerk/socket/neqo_glue/src/lib.rs @@ -121,7 +121,7 @@ impl NeqoHttp3Conn { max_accumlated_time_ms: u32, ) -> Result<RefPtr<NeqoHttp3Conn>, nsresult> { // Nss init. - init(); + init().map_err(|_| NS_ERROR_UNEXPECTED)?; let origin_conv = str::from_utf8(origin).map_err(|_| NS_ERROR_INVALID_ARG)?; |