diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-06 11:21:32 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-06 11:21:32 -0800 |
| commit | 68586f0090419def344debf970402750332af098 (patch) | |
| tree | bff6f606ed2f5bdf448b904725a0baaf805fbc57 /src/core/list.c | |
| parent | 44a6de38d240143ec2b4bb6f6457bae81271820a (diff) | |
| download | nng-68586f0090419def344debf970402750332af098.tar.gz nng-68586f0090419def344debf970402750332af098.tar.bz2 nng-68586f0090419def344debf970402750332af098.zip | |
Pub/Sub now callback driven.
Diffstat (limited to 'src/core/list.c')
| -rw-r--r-- | src/core/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/list.c b/src/core/list.c index 1a5a4eb1..1d00171b 100644 --- a/src/core/list.c +++ b/src/core/list.c @@ -90,7 +90,7 @@ nni_list_insert_before(nni_list *list, void *item, void *before) nni_list_node *where = NODE(list, before); if ((node->ln_next != NULL) || (node->ln_prev != NULL)) { - nni_panic("prepending node already on a list or not inited"); + nni_panic("inserting node already on a list or not inited"); } node->ln_next = where; node->ln_prev = where->ln_prev; @@ -106,7 +106,7 @@ nni_list_insert_after(nni_list *list, void *item, void *after) nni_list_node *where = NODE(list, after); if ((node->ln_next != NULL) || (node->ln_prev != NULL)) { - nni_panic("prepending node already on a list or not inited"); + nni_panic("inserting node already on a list or not inited"); } node->ln_prev = where; node->ln_next = where->ln_next; |
