X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm.cpp;h=9ffcc4cbceadeb34c6f6c90c0507ca481cc77291;hp=335832920a069a81d1f7a76f43e013109c79a438;hb=ce460a94e6371173c4ce063229276b6d32f47abd;hpb=8fb861ef9ece9f4bd68ef79a77625ec23c27aef1 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);