diff options
| author | 2022-11-24 08:47:02 +0100 | |
|---|---|---|
| committer | 2022-11-24 08:47:02 +0100 | |
| commit | f2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch) | |
| tree | f1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_io.h | |
| parent | Refuse to store objects that are already here. (diff) | |
| download | snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.gz snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.xz snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.zip | |
Backport from xs.
Diffstat (limited to 'xs_io.h')
| -rw-r--r-- | xs_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -79,7 +79,7 @@ d_char *xs_read(FILE *f, int *sz) | |||
| 79 | d_char *xs_readall(FILE *f) | 79 | d_char *xs_readall(FILE *f) |
| 80 | /* reads the rest of the file into a string */ | 80 | /* reads the rest of the file into a string */ |
| 81 | { | 81 | { |
| 82 | int size = 0xfffffff; | 82 | int size = XS_ALL; |
| 83 | 83 | ||
| 84 | return xs_read(f, &size); | 84 | return xs_read(f, &size); |
| 85 | } | 85 | } |