summaryrefslogtreecommitdiffstats
path: root/gsm.cpp
diff options
context:
space:
mode:
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);