All 4 nr&lte-(ue)softmodems are compiling

This commit is contained in:
yilmazt
2019-06-16 19:46:11 +02:00
177 changed files with 3888 additions and 3360 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ link_manager_t *create_link_manager(
socket_link_t *link)
{
link_manager_t *ret = NULL;
pthread_attr_t attr;
//pthread_attr_t attr;
pthread_t t;
LOG_D(MAC, "create new link manager\n");
+2 -2
View File
@@ -228,7 +228,7 @@ socket_link_t *new_link_udp_client(const char *server, int port){
struct sockaddr_in si_other;
int s;
socklen_t slen;
socklen_t slen = sizeof(si_other);
if ( (s=socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1){
goto error;
@@ -402,7 +402,7 @@ static int socket_udp_receive(int socket_fd, void *buf, int size)
LOG_D(PROTO_AGENT,"UDP RECEIVE\n");
struct sockaddr_in client;
socklen_t slen;
socklen_t slen = sizeof(client);
int l;
l = recvfrom(socket_fd, buf, size, 0, (struct sockaddr *) &client, &slen);