diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-24 17:15:14 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-24 17:15:14 +0000 |
commit | 3908bcde0b032512c3a516524c4010e7df5af3fe (patch) | |
tree | 7935a8bfe7ad08608e4170adc92d8aa51f659357 /src/htsparse.c | |
parent | 5cca0d9154d5a3cb1302cd88bda9b2016a8c702e (diff) |
Replaced exit(1) by abort()
* fixed lintian shlib-calls-exit
Diffstat (limited to 'src/htsparse.c')
-rw-r--r-- | src/htsparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsparse.c b/src/htsparse.c index 3db1e08..d5784bd 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -90,7 +90,7 @@ Please visit our Website: http://www.httrack.com printf("PANIC! : Not enough memory [%d]\n",__LINE__); \ XH_uninit; \ abortLogFmt("not enough memory for current html document in HT_ADD_CHK : realloct(%d) failed" _ ht_size); \ - exit(1); \ + abort(); \ } \ } \ ht_len+=A; @@ -143,7 +143,7 @@ Please visit our Website: http://www.httrack.com printf("PANIC! : Not enough memory [%d]\n",__LINE__); \ XH_uninit; \ abortLogFmt("not enough memory for current html document in HT_ADD_START : malloct(%d) failed" _ (int) ht_size); \ - exit(1); \ + abort(); \ } \ ht_buff[0]='\0'; \ } |