Replace calls to abort() with calls to internal_error().

This commit is contained in:
Kevin Buettner
2001-02-25 04:45:12 +00:00
parent d95767bf85
commit e1e9e218c1
38 changed files with 123 additions and 74 deletions

View File

@@ -185,7 +185,7 @@ xmodem_send_packet (serial_t desc, unsigned char *packet, int len, int hashmark)
datasize = XMODEM_1KDATASIZE;
}
else
abort (); /* Packet way too large */
internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Packet way too large */
/* Add ^Z padding if packet < 128 (or 1024) bytes */