Bugreport by Christian:
authorAndreas Eversberg <jolly@eversberg.eu>
Tue, 23 Mar 2010 08:42:54 +0000 (09:42 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Tue, 23 Mar 2010 08:42:54 +0000 (09:42 +0100)
gsm.cpp: In member function .void Pgsm::bchannel_send(unsigned int,
unsigned int, unsigned char*, int).:
gsm.cpp:249: error: overloaded function with no contextual type
information
make[1]: *** [gsm.o] Error 1

I hope that this will fix the compiler problem.

gsm.cpp

diff --git a/gsm.cpp b/gsm.cpp
index b378df6..961c11f 100644 (file)
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -246,7 +246,7 @@ void Pgsm::bchannel_send(unsigned int prim, unsigned int id, unsigned char *data
        memcpy(buf+MISDN_HEADER_LEN, data, len);
        ret = sendto(p_m_g_gsm_b_sock, buf, MISDN_HEADER_LEN+len, 0, NULL, 0);
        if (ret <= 0)
-               PERROR("Failed to send to socket index %d\n", index);
+               PERROR("Failed to send to socket index %d\n", p_m_g_gsm_b_index);
 }
 
 void Pgsm::frame_send(void *_frame)