From 83d1866877484548536342cd421f22b39ed2ee19 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 1 Jun 2026 18:38:47 +0400 Subject: [PATCH] Format --- libplum/plum.nim | 4 +--- tests/test_plum.nim | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) 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: