still more work on logging

libscp makefile fix
This commit is contained in:
ilsimo
2008-07-30 10:58:30 +00:00
parent a8a2f0a0b0
commit d14b076a70
26 changed files with 657 additions and 319 deletions
+6 -2
View File
@@ -33,13 +33,16 @@
#include <stdlib.h>
#include <string.h>
extern struct log_config* s_log;
/*****************************************************************************/
int DEFAULT_CC
scp_tcp_force_recv(int sck, char* data, int len)
{
int rcvd;
int block;
LOG_DBG(s_log, "scp_tcp_force_recv()");
block = scp_lock_fork_critical_section_start();
while (len > 0)
@@ -80,7 +83,8 @@ scp_tcp_force_send(int sck, char* data, int len)
{
int sent;
int block;
LOG_DBG(s_log, "scp_tcp_force_send()");
block = scp_lock_fork_critical_section_start();
while (len > 0)