Skip to content

Commit

Permalink
fix: initialize lastAdvancedMonotonic
Browse files Browse the repository at this point in the history
  • Loading branch information
opera-aberglund committed Nov 8, 2024
1 parent cfa8150 commit da32e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Binary file added temp.zip
Binary file not shown.

0 comments on commit da32e7f

Please sign in to comment.