ao-postflight: fix sloppy gps sat data realloc code (was crashing).
authorKeith Packard <keithp@keithp.com>
Sun, 15 Nov 2009 00:35:12 +0000 (16:35 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 15 Nov 2009 00:35:12 +0000 (16:35 -0800)
commit03092d1a72a9651711e22c58dca6d6aba5705c5e
tree541beabd46094c6d33416b8729ee490f969d2154
parentadf656192441eb7f44792955c86e469145477e29
ao-postflight: fix sloppy gps sat data realloc code (was crashing).

Realloc'ing the wrong data, and failing to set the realloc'ed size was
causing ao-postflight to crash while reading long logs.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib/cc-logfile.c