Subversion Repositories Kolibri OS

Rev

Rev 799 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 799 Rev 5485
Line 947... Line 947...
947
 
947
 
948
	if(!syncsafe_to_long(buf+2,length))
948
	if(!syncsafe_to_long(buf+2,length))
Line -... Line 949...
-
 
949
	  return -1;
-
 
950
 
-
 
951
 
-
 
952
	if(rd->strremain < length)
-
 
953
	{
-
 
954
		rd->filepos += length - rd->strremain;
-
 
955
		rd->strremain = 0;
949
	  return -1;
956
	}
950
 
957
	else
951
 
958
	{
-
 
959
    rd->strpos+=length;
Line 952... Line 960...
952
    rd->strpos+=length;
960
    rd->stream+=length;
953
    rd->stream+=length;
961
    rd->strremain-=length;
954
    rd->strremain-=length;
962
        }
955
 
963