Browse Source

Fixed typo

pull/1/head
Joseph Henry 10 years ago
parent
commit
de2ba8d0f7
  1. 4
      make-linux.mk
  2. 2
      netcon/Intercept.c
  3. 2
      netcon/NetconEthernetTap.cpp
  4. 4
      netcon/RPC.c

4
make-linux.mk

@ -109,8 +109,8 @@ netcon: rpc_lib $(OBJS)
rpc_lib:
g++ -c -fPIC -lpthread netcon/rpc.c -DVERBOSE -o netcon/rpc.o
ar -rv netcon/librpc.a netcon/rpc.o
g++ -c -fPIC -lpthread netcon/RPC.c -DVERBOSE -o netcon/RPC.o
ar -rv netcon/librpc.a netcon/RPC.o
selftest: $(OBJS) selftest.o

2
netcon/Intercept.c

@ -55,7 +55,7 @@
#define SOCK_TYPE_MASK 0xf
#include "Intercept.h"
#include "rpc.h"
#include "RPC.h"
#include "common.inc.c"
/* Global Declarations */

2
netcon/NetconEthernetTap.cpp

@ -48,7 +48,7 @@
#include "lwip/tcp.h"
#include "common.inc.c"
#include "rpc.h"
#include "RPC.h"
#define APPLICATION_POLL_FREQ 20
#define ZT_LWIP_TCP_TIMER_INTERVAL 5

4
netcon/RPC.c

@ -7,7 +7,7 @@
#include <sys/socket.h>
#include <strings.h>
#include "rpc.h"
#include "RPC.h"
#define RPC_FD 1023
#define SERVICE_CONNECT_ATTEMPTS 30
@ -251,4 +251,4 @@ ssize_t sock_fd_read(int sock, void *buf, ssize_t bufsize, int *fd)
}
}
return size;
}
}

Loading…
Cancel
Save