minor cleanup in fopencookie
authorRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2018 18:46:05 +0000 (14:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2018 18:46:05 +0000 (14:46 -0400)
commit4245a233c147e18a841bc6ccd5aafb65d6bca163
tree033922de5f4fc1e1b10f08b6b5741b1205ff4db3
parentc9f415d7ea2dace5bf77f6518b6afc36bb7a5732
minor cleanup in fopencookie

assign entire struct rather than member-at-a-time. don't repeat buffer
sizes; always use sizeof to ensure consistency.
src/stdio/fopencookie.c