diff options
author | Stef Walter <stef@memberwebs.com> | 2005-10-19 05:46:36 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-10-19 05:46:36 +0000 |
commit | 4ad6be7d1300ed518294a57c26a09d4218c49502 (patch) | |
tree | e3c344344d86186739bcd6a65ef555c34fee5059 /common/spio.c | |
parent | 15ebe8e5ad0730b9ac95e6210798aa9008f001d3 (diff) |
Fixes from Loic Le Loarer
Diffstat (limited to 'common/spio.c')
-rw-r--r-- | common/spio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spio.c b/common/spio.c index 5ee58ee..f2198c0 100644 --- a/common/spio.c +++ b/common/spio.c @@ -441,7 +441,7 @@ int read_raw(spctx_t* ctx, spio_t* io, int opts) { /* * K, basically the logic is that we're discarding - * data ond the data will be screwed up. So overwriting + * data and the data will be screwed up. So overwriting * some valid data in order to flush the line and * keep the buffering simple is a price we pay gladly :) */ @@ -544,7 +544,7 @@ int spio_write_dataf(struct spctx* ctx, spio_t* io, const char* fmt, ...) return spio_write_data(ctx, io, buf); } -int spio_write_data_raw(spctx_t* ctx, spio_t* io, unsigned char* buf, int len) +int spio_write_data_raw(spctx_t* ctx, spio_t* io, const unsigned char* buf, int len) { int r; |