summaryrefslogtreecommitdiffstats
path: root/gsm.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-30 11:59:07 +0100
committerAndreas Eversberg2010-01-30 11:59:07 +0100
commitce460a94e6371173c4ce063229276b6d32f47abd (patch)
treea99e87d2ed002a907e75e7d3a9ce0b58cfd13fe5 /gsm.cpp
parent- Fixed HLC (higher layer capability) modification to LCR routing. (diff)
downloadlcr-ce460a94e6371173c4ce063229276b6d32f47abd.tar.gz
lcr-ce460a94e6371173c4ce063229276b6d32f47abd.tar.xz
lcr-ce460a94e6371173c4ce063229276b6d32f47abd.zip
register_fd() bugfix.
Diffstat (limited to 'gsm.cpp')
-rw-r--r--gsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm.cpp b/gsm.cpp
index 3358329..9ffcc4c 100644
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -176,7 +176,7 @@ int Pgsm::bchannel_open(int index)
bchannel_close();
return(ret);
}
- memset(&p_m_g_gsm_b_fd, 0, sizeof(p_m_g_gsm_b_fd.fd));
+ memset(&p_m_g_gsm_b_fd, 0, sizeof(p_m_g_gsm_b_fd));
p_m_g_gsm_b_fd.fd = p_m_g_gsm_b_sock;
register_fd(&p_m_g_gsm_b_fd, LCR_FD_READ, b_handler, this, 0);