/[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 564 by capela, Sun May 22 22:02:00 2005 UTC revision 623 by capela, Thu Jun 9 10:37:19 2005 UTC
# Line 14  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15     Lesser General Public License for more details.     Lesser General Public License for more details.
16    
17     You should have received a copy of the GNU Lesser General Public     You should 14have received a copy of the GNU Lesser General Public
18     License along with this library; if not, write to the Free Software     License along with this library; if not, write to the Free Software
19     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20    
# 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;
352    
353      // Initialize the transaction mutex.      // Initialize the transaction mutex.
354      lscp_mutex_init(pClient->mutex);      lscp_mutex_init(pClient->mutex);
# Line 1491  lscp_server_info_t *lscp_get_server_info Line 1492  lscp_server_info_t *lscp_get_server_info
1492      lscp_mutex_lock(pClient->mutex);      lscp_mutex_lock(pClient->mutex);
1493    
1494      pServerInfo = &(pClient->server_info);      pServerInfo = &(pClient->server_info);
1495      lscp_engine_info_reset(pServerInfo);      lscp_server_info_reset(pServerInfo);
1496    
1497      if (lscp_client_call(pClient, "GET SERVER INFO\r\n") == LSCP_OK) {      if (lscp_client_call(pClient, "GET SERVER INFO\r\n") == LSCP_OK) {
1498          pszResult = lscp_client_get_result(pClient);          pszResult = lscp_client_get_result(pClient);

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

  ViewVC Help
Powered by ViewVC