diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2005-12-14 00:15:00 +0000 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2005-12-14 00:15:00 +0000 |
commit | 2824f4dca11d8f1089ffd028bf797acbb2a4a488 (patch) | |
tree | 50deb5b258a3305a53e22faab3f50513fd0ca0a4 /libguile/scmsigs.c | |
parent | 6a88895b7b14cd844d555f6f6b33a176574b5706 (diff) |
(do_read_without_guile): Use the "raw_data" passed in
(rather than an uninitialized pointer on the stack).
Diffstat (limited to 'libguile/scmsigs.c')
-rw-r--r-- | libguile/scmsigs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index 59513cf6e..3e7c3e12f 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -130,7 +130,7 @@ typedef struct { static void * do_read_without_guile (void *raw_data) { - read_without_guile_data *data = (read_without_guile_data *)data; + read_without_guile_data *data = (read_without_guile_data *)raw_data; data->res = read (data->fd, data->buf, data->n); return NULL; } |