Hoernchen has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39501?usp=email )


Change subject: out ep: fix swapped error handling
......................................................................

out ep: fix swapped error handling

Change-Id: I2833f0aca3ffebfceaaf2a0681a9f8242817e722
---
M sysmoOCTSIM/main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware 
refs/changes/01/39501/1

diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 6fc2aac..d4e97ca 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -208,7 +208,7 @@
        rc = ccid_df_read_out(msgb_data(msg), msgb_tailroom(msg));
        if (rc != ERR_NONE) {
                /* re-add to the list of free msgb's */
-               llist_add_tail_at(&g_ccid_s.free_q, &msg->list);
+               llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
                return 0;
        }
        return 1;

--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39501?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I2833f0aca3ffebfceaaf2a0681a9f8242817e722
Gerrit-Change-Number: 39501
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <[email protected]>

Reply via email to