Mercurial > hg > xemacs-beta
comparison src/linuxplay.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 023b83f4e54b |
children | 943eaba38521 |
comparison
equal
deleted
inserted
replaced
646:00c54252fe4f | 647:b39c14581166 |
---|---|
283 /* We need to read at least the header information before we can start | 283 /* We need to read at least the header information before we can start |
284 doing anything */ | 284 doing anything */ |
285 if (!data || length < HEADERSZ) { | 285 if (!data || length < HEADERSZ) { |
286 if (fd < 0) return 0; | 286 if (fd < 0) return 0; |
287 else { | 287 else { |
288 length = read(fd,sndbuf,SNDBUFSZ); | 288 length = read (fd,sndbuf,SNDBUFSZ); |
289 if (length < HEADERSZ) | 289 if (length < HEADERSZ) |
290 return 0; | 290 return 0; |
291 data = sndbuf; | 291 data = sndbuf; |
292 length = SNDBUFSZ; } | 292 length = SNDBUFSZ; } |
293 } | 293 } |