This commit is contained in:
Arnaud 2026-06-01 18:38:47 +04:00
parent e50f341ad8
commit 83d1866877
No known key found for this signature in database
GPG Key ID: A6C7C781817146FA
2 changed files with 4 additions and 4 deletions

View File

@ -119,9 +119,7 @@ template withSafeLock(body: untyped) =
withLock activeMappingsLock:
body
proc mappingCallback(
id: cint, state: plum_state_t, raw: ptr plum_mapping_t
) {.cdecl.} =
proc mappingCallback(id: cint, state: plum_state_t, raw: ptr plum_mapping_t) {.cdecl.} =
## Called from libplum's internal C thread on SUCCESS, FAILURE, and DESTROYED.
foreignThreadGc:

View File

@ -159,7 +159,9 @@ when miniupnp_protocol != "":
test "mapping is renewed after miniupnpd restart":
require init(
discoverTimeout = discoverMs.int32, logLevel = logLevel, recheckPeriod = recheckMs.int32
discoverTimeout = discoverMs.int32,
logLevel = logLevel,
recheckPeriod = recheckMs.int32,
)
.isOk()
defer: