/[svn]/liblscp/trunk/examples/server.c
ViewVC logotype

Diff of /liblscp/trunk/examples/server.c

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

revision 178 by capela, Tue Jul 6 15:52:25 2004 UTC revision 869 by capela, Thu Jun 1 08:32:16 2006 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This library is free software; you can redistribute it and/or     This library is free software; you can redistribute it and/or
8     modify it under the terms of the GNU Lesser General Public     modify it under the terms of the GNU Lesser General Public
# Line 223  static lscp_status_t _lscp_connect_destr Line 223  static lscp_status_t _lscp_connect_destr
223    
224      lscp_socket_agent_free(&(pConnect->client));      lscp_socket_agent_free(&(pConnect->client));
225    
 #ifdef DEBUG  
     fprintf(stderr, "<%p> Done.\n", pConnect);  
 #endif  
   
226      free(pConnect);      free(pConnect);
227    
228      return ret;      return ret;
# Line 264  static void _lscp_server_thread_proc ( l Line 260  static void _lscp_server_thread_proc ( l
260  {  {
261      lscp_socket_t sock;      lscp_socket_t sock;
262      struct sockaddr_in addr;      struct sockaddr_in addr;
263      int cAddr;      socklen_t cAddr;
264      lscp_connect_t *pConnect;      lscp_connect_t *pConnect;
265    
266  #ifdef DEBUG  #ifdef DEBUG
# Line 302  static void _lscp_server_select_proc ( l Line 298  static void _lscp_server_select_proc ( l
298    
299      lscp_socket_t sock;      lscp_socket_t sock;
300      struct sockaddr_in addr;      struct sockaddr_in addr;
301      int cAddr;      socklen_t cAddr;
302      lscp_connect_t *pConnect;      lscp_connect_t *pConnect;
303    
304  #ifdef DEBUG  #ifdef DEBUG

Legend:
Removed from v.178  
changed lines
  Added in v.869

  ViewVC Help
Powered by ViewVC