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 | fb269bcd784ca431340cf47e7b515f64688bd55e (patch) | |
tree | 8cfd8d4e9e7aef232179318526a960d28b45302f /common/spio.c | |
parent | 131d21a4f9a2758d43344a3446c6812abd58216b (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; |