summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
Diffstat (limited to 'netcon')
-rwxr-xr-xnetcon/Intercept.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/netcon/Intercept.c b/netcon/Intercept.c
index a4d07f77..def6f17e 100755
--- a/netcon/Intercept.c
+++ b/netcon/Intercept.c
@@ -499,8 +499,7 @@ int socket(SOCKET_SIG)
rpc_st.__tid = syscall(SYS_gettid);
memset(cmd, '\0', BUF_SZ);
cmd[0] = RPC_SOCKET;
- dwr(MSG_DEBUG,"pid = %d\n", thispid);
- memcpy(&cmd[1]+sizeof(pid_t), &rpc_st, sizeof(struct socket_st));
+ memcpy(&cmd[1], &rpc_st, sizeof(struct socket_st));
pthread_mutex_lock(&lock);
send_command(fdret_sock, cmd);