Update of /cvsroot/playerstage/code/player/client_libs/libplayerc
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14026/client_libs/libplayerc

Modified Files:
        client.c 
Log Message:
fixed some formatting and compiler warnings

Index: client.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/client.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** client.c    29 Nov 2007 03:37:23 -0000      1.88
--- client.c    2 Dec 2007 09:11:13 -0000       1.89
***************
*** 623,634 ****
      {
        case PLAYER_MSGTYPE_RESP_ACK:
!       PLAYERC_WARN ("Discarding unclaimed ACK");
          break;
        case PLAYER_MSGTYPE_SYNCH:
          client->data_requested = 0;
          if(!client->data_received)
            return NULL;
          else
            return client->id;
        case PLAYER_MSGTYPE_DATA:
          client->lasttime = client->datatime;
--- 623,639 ----
      {
        case PLAYER_MSGTYPE_RESP_ACK:
!         PLAYERC_WARN ("Discarding unclaimed ACK");
          break;
        case PLAYER_MSGTYPE_SYNCH:
          client->data_requested = 0;
          if(!client->data_received)
+         {
+           PLAYERC_WARN ("No Data recieved with SYNC");
            return NULL;
+         }
          else
+         {
            return client->id;
+         }
        case PLAYER_MSGTYPE_DATA:
          client->lasttime = client->datatime;


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to