Rev 3376 | Rev 3413 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3376 | Rev 3411 | ||
|---|---|---|---|
| Line 119... | Line 119... | ||
| 119 | printf("Error reading %s\n", fname); |
119 | printf("Error reading %s\n", fname); |
| 120 | free(buff); |
120 | free(buff); |
| 121 | return 1; |
121 | return 1; |
| 122 | } |
122 | } |
| 123 | 123 | ||
| 124 | /* Debug stuff, newline not added purposefully */ |
- | |
| 125 | printf("** %s is a file with the size of %ld bytes\n", |
- | |
| 126 | fname, total); |
- | |
| 127 | printf( "** %d bytes were read in a buffer of %d bytes in %d reads\n", |
- | |
| 128 | count, blen, reads); |
- | |
| 129 | printf("** Read %s\n", count == total ? "Succeeded" : "Failed"); |
- | |
| 130 | free(buff); |
124 | free(buff); |
| 131 | 125 | ||
| 132 | return 0; |
126 | return 0; |
| 133 | } |
127 | } |
| 134 | 128 | ||