mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
fix an assertion
This commit is contained in:
parent
2ab846a9ca
commit
11b49c72d5
1
main.cpp
1
main.cpp
@ -281,6 +281,7 @@ int client_on_raw_recv(conn_info_t &conn_info) //called when raw fd received a p
|
||||
|
||||
if(conn_info.state.client_current_state==client_idle )
|
||||
{
|
||||
g_packet_buf_cnt--;
|
||||
//recv(raw_recv_fd, 0,0, 0 );
|
||||
//pthread_mutex_lock(&queue_mutex);
|
||||
//my_queue.pop_front();
|
||||
|
2
makefile
2
makefile
@ -22,7 +22,7 @@ TAR=${NAME}_binaries.tar.gz `echo ${TARGETS}|sed -r 's/([^ ]+)/udp2raw_\1/g'` ve
|
||||
|
||||
all:git_version
|
||||
rm -f ${NAME}
|
||||
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb -static -O3
|
||||
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb -static -O2
|
||||
mac:git_version
|
||||
rm -f ${NAME}
|
||||
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -ggdb -O2
|
||||
|
Loading…
x
Reference in New Issue
Block a user