/[svn]/liblscp/trunk/src/socket.c
ViewVC logotype

Diff of /liblscp/trunk/src/socket.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 114 by capela, Mon Jun 7 21:40:23 2004 UTC revision 144 by capela, Thu Jun 24 18:25:11 2004 UTC
# Line 200  void lscp_socket_agent_init ( lscp_socke Line 200  void lscp_socket_agent_init ( lscp_socke
200      memset(pAgent, 0, sizeof(lscp_socket_agent_t));      memset(pAgent, 0, sizeof(lscp_socket_agent_t));
201    
202      pAgent->sock = sock;      pAgent->sock = sock;
     memmove((char *) &(pAgent->addr), pAddr, cAddr);  
203      pAgent->pThread = NULL;      pAgent->pThread = NULL;
204      pAgent->iState = 0;      pAgent->iState = 0;
205    
206        if (pAddr)
207            memmove((char *) &(pAgent->addr), pAddr, cAddr);
208  }  }
209    
210    

Legend:
Removed from v.114  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC