commit | 109ac96f0296fd66d5a1d37def44db3cef7ca0fb | [log] [tgz] |
---|---|---|
author | paul <paul> | Sat Feb 19 01:17:07 2005 +0000 |
committer | paul <paul> | Sat Feb 19 01:17:07 2005 +0000 |
tree | aa6e12891391dd9d0a890b2a89c39222ad6409e6 | |
parent | 518cde8d6ce0434b02bd5d7cf7e9627d57af6952 [diff] [blame] |
2005-02-19 Paul Jakma <paul.jakma@sun.com> * stream.c: (stream_new) fix dumb mistake.
diff --git a/lib/stream.c b/lib/stream.c index a50835e..821ad6e 100644 --- a/lib/stream.c +++ b/lib/stream.c
@@ -99,7 +99,7 @@ return NULL; } - s = XCALLOC (MTYPE_STREAM, offsetof(struct stream, size)); + s = XCALLOC (MTYPE_STREAM, offsetof(struct stream, data[size])); if (s == NULL) return s;