From da32e7ff30f449a9f7f1a399810bc935d09c3310 Mon Sep 17 00:00:00 2001 From: opera-aberglund Date: Fri, 8 Nov 2024 10:20:24 +0100 Subject: [PATCH] fix: initialize lastAdvancedMonotonic --- src/lib/server.c | 2 ++ temp.zip | Bin 0 -> 8675 bytes 2 files changed, 2 insertions(+) create mode 100644 temp.zip diff --git a/src/lib/server.c b/src/lib/server.c index 273e58a..4789af9 100644 --- a/src/lib/server.c +++ b/src/lib/server.c @@ -306,6 +306,8 @@ int nimbleServerInit(NimbleServer* self, NimbleServerSetup setup) self->transportConnections[0].transportConnectionId = (uint8_t) 0; self->transportConnections[0].isUsed = false; + self->lastAdvancedMonotonic = setup.now; + nimbleServerCircularBufferInit(&self->freeTransportConnectionList); for (size_t i = 1; i < NIMBLE_NIMBLE_SERVER_MAX_TRANSPORT_CONNECTIONS; ++i) { self->transportConnections[i].assignedParty = 0; diff --git a/temp.zip b/temp.zip new file mode 100644 index 0000000000000000000000000000000000000000..6e82a9e4af043afd08b637f0c2a1d642e310d8b9 GIT binary patch literal 8675 zcmb7}bzD?kw}6N41}OpQ?k?$Ol$Nd`h8$8F2?6Owx=T?SL>dG{K)OS^Q4C5DxWngF z?u+32-OcX|=b!!Tz1LZ5?G-9YaPX*rixGP(N&7!9|NDajKmoW|*_pGtSb=Ow41) z0{|Ss0RUY89m&+y%GS)t*2>=1oz26}_V*DZ)eUTBIPiTA%jzH=ap~>_SiutG`4PkL zsCGzs5mdeWQ6xHC#||VL(OG6*R!gxJNTDSsj{QSTai+X$D(;j@F_Pa8rAuxbl0aUy z#PJ(Uium8XjR6>2otKt#<1^I3Rq|d;{6^EevG+V&J0$XBIG|glZjx%=Y8R2;?-khD zcoyZQZBNMO#`kfms~MG13MeIG(Yzd*?UG!Ykq)1*a3^;B_y~N2Vk=)NV2MF2-|jUz z%=~bN1rKTClyRmQj4(E(rgx~+2nsAavTWjHK>Q|bL#W9hUhfXHN?huQDmW8eo=G5P z7-$Wz#@rV*0zU-K(?6a5V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