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

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

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

revision 623 by capela, Thu Jun 9 10:37:19 2005 UTC revision 626 by capela, Fri Jun 10 09:59:18 2005 UTC
# Line 69  static void _lscp_client_evt_proc ( void Line 69  static void _lscp_client_evt_proc ( void
69    
70          // Use the timeout (x10) select feature ...          // Use the timeout (x10) select feature ...
71          iTimeout = 10 * pClient->iTimeout;          iTimeout = 10 * pClient->iTimeout;
72          if (iTimeout > 1000) {          if (iTimeout >= 1000) {
73              tv.tv_sec = iTimeout / 1000;              tv.tv_sec = iTimeout / 1000;
74              iTimeout -= tv.tv_sec * 1000;              iTimeout -= tv.tv_sec * 1000;
75          }          }
# Line 348  lscp_client_t* lscp_client_create ( cons Line 348  lscp_client_t* lscp_client_create ( cons
348      pClient->iStreamCount = 0;      pClient->iStreamCount = 0;
349      // Default timeout value.      // Default timeout value.
350      pClient->iTimeout = LSCP_TIMEOUT_MSECS;      pClient->iTimeout = LSCP_TIMEOUT_MSECS;
351      pClient->iTimeoutCount = 0;          pClient->iTimeoutCount = 0;
352    
353      // Initialize the transaction mutex.      // Initialize the transaction mutex.
354      lscp_mutex_init(pClient->mutex);      lscp_mutex_init(pClient->mutex);

Legend:
Removed from v.623  
changed lines
  Added in v.626

  ViewVC Help
Powered by ViewVC