Changeset 2541
- Timestamp:
- 2006-10-29 23:48:46 (2 years ago)
- Files:
-
- libannodex/trunk/src/tools/anxed.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libannodex/trunk/src/tools/anxed.c
r1201 r2541 42 42 #include "common.h" 43 43 44 /*#define DEBUG*/ 44 #define DEBUG 45 45 46 46 #define ANX_CONTENT_TYPE "application/x-annodex" 47 47 48 48 #define MEDIA_BUF_LEN 8192 49 50 49 51 50 /* … … 205 204 } 206 205 207 while ((n = anx_write (anx, 1024)) != 0); 206 while ((n = anx_write (anx, 1024)) > 0); 207 if (n < 0) { 208 printf("ERROR: %ld\n", n); 209 } 208 210 209 211 if (anx_close (anx) != NULL) {