diff --git a/libplum/plum.nim b/libplum/plum.nim index 8caf987..3399724 100644 --- a/libplum/plum.nim +++ b/libplum/plum.nim @@ -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: diff --git a/tests/test_plum.nim b/tests/test_plum.nim index ae3850b..02baabf 100644 --- a/tests/test_plum.nim +++ b/tests/test_plum.nim @@ -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: