Changeset 535
- Timestamp:
- 04/22/04 10:05:17 (5 years ago)
- Files:
-
- trunk/src/stream.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/stream.c
r533 r535 1 /* $Id: stream.c,v 1.2 4 2004/04/14 11:00:41 jajcusExp $ */1 /* $Id: stream.c,v 1.25 2004/04/22 08:05:17 smoku Exp $ */ 2 2 3 3 /* … … 225 225 s->read_buf[br]=0; 226 226 debug("IN: %s",s->read_buf); 227 xstream_eat(s->xs,s->read_buf,br); 228 return TRUE; 227 if(xstream_eat(s->xs,s->read_buf,br) > XSTREAM_NODE){ 228 g_error(L_("Error reading from stream")); 229 return FALSE; 230 }else{ 231 return TRUE; 232 } 229 233 } 230 234
