diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-29 23:31:59 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-29 23:31:59 +0000 |
commit | 0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d (patch) | |
tree | f421f82664a92fb2568fdbd76c13a31d4db6f5b7 /src/input/mms.c | |
parent | 7bfed2df7a422912d295348e100c73e8ee388216 (diff) | |
download | xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.gz xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.bz2 |
Replace all exit(1) with abort().
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable.
CVS patchset: 1811
CVS date: 2002/04/29 23:31:59
Diffstat (limited to 'src/input/mms.c')
-rw-r--r-- | src/input/mms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/mms.c b/src/input/mms.c index d1ae8558d..578d74dd1 100644 --- a/src/input/mms.c +++ b/src/input/mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mms.c,v 1.5 2002/04/28 15:33:06 guenter Exp $ + * $Id: mms.c,v 1.6 2002/04/29 23:31:59 jcdutton Exp $ * * based on work from major mms * utility functions to handle communication with an mms server @@ -777,7 +777,7 @@ static int get_media_packet (mms_t *this) { || (pre_header[5] != 0xfa) || (pre_header[4] != 0xce) ) { printf ("missing signature\n"); - exit (1); + abort(); } @@ -796,7 +796,7 @@ static int get_media_packet (mms_t *this) { return 0; } else if (command != 0x05) { printf ("unknown command %02x\n", command); - exit (1); + abort(); } } |