comparison src/gpmevent.c @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents 3d3049ae1304
children 7039e6323819
comparison
equal deleted inserted replaced
461:120ed4009e51 462:0784d089fdc9
270 } 270 }
271 271
272 while (1) 272 while (1)
273 { 273 {
274 Bufbyte tempbuf[1024]; /* some random amount */ 274 Bufbyte tempbuf[1024]; /* some random amount */
275 ssize_t i; 275 Lstream_data_count i;
276 ssize_t size_in_bytes = 276 Lstream_data_count size_in_bytes =
277 Lstream_read (XLSTREAM (terminal_stream), 277 Lstream_read (XLSTREAM (terminal_stream),
278 tempbuf, sizeof (tempbuf)); 278 tempbuf, sizeof (tempbuf));
279 279
280 if (size_in_bytes <= 0) 280 if (size_in_bytes <= 0)
281 { 281 {