Skip to content

Commit

Permalink
EE SIFRPC: Fix bug in SifRegisterRpc
Browse files Browse the repository at this point in the history
  • Loading branch information
PSI-Rockin authored and uyjulian committed Jan 22, 2024
1 parent 7e63493 commit 7596811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ee/kernel/src/sifrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,11 @@ SifRegisterRpc(SifRpcServerData_t *sd,
if (!(server = qd->link)) {
qd->link = sd;
} else {
while (server->next != NULL) {
server = server->next;
while (server->link != NULL) {
server = server->link;
}

server->next = sd;
server->link = sd;
}

EI();
Expand Down

0 comments on commit 7596811

Please sign in to comment.