projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
336f157
)
mncc_sock: properly append an element to the end of the list
author
Harald Welte
<laforge@gnumonks.org>
Wed, 22 Dec 2010 21:55:30 +0000
(22:55 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Sun, 20 Feb 2011 10:32:59 +0000
(11:32 +0100)
gsm_bs.cpp
patch
|
blob
|
history
diff --git
a/gsm_bs.cpp
b/gsm_bs.cpp
index
78ef8af
..
8bb647f
100644
(file)
--- a/
gsm_bs.cpp
+++ b/
gsm_bs.cpp
@@
-815,6
+815,7
@@
static int mncc_q_enqueue(struct gsm_mncc *mncc, unsigned int len)
} else {
/* append to tail of list */
gsm->mncc_q_tail->next = qe;
} else {
/* append to tail of list */
gsm->mncc_q_tail->next = qe;
+ gsm->mncc_q_tail = qe;
}
gsm->mncc_lfd.when |= LCR_FD_WRITE;
}
gsm->mncc_lfd.when |= LCR_FD_WRITE;