Hello<br>
<br>
I use the ext_error function in my code, but it crashes. I don't know why .....<br>
<br>
int exp_error(char *msg, ...) {<br>
<br>
char buffer[2000]; /* No novels to the error logs, OK? */<br>
va_list ap;<br>
va_start(ap,msg);<br>
vsprintf(buffer,msg,ap);<br>
va_end(ap);<br>
<br>
printf("%s\n", buffer) ;<br>
<br>
<span style="color: rgb(255, 0, 0);"> ext_error (buffer, 1);</span><br>
// print_error (buffer,ERR);<br>
<br>
if ( ext_error ) return 0; /* do not exit error routine is specified */<br>
<br>
printf("»»»»»»»»»\n") ;<br>
<br>
exit (1);<br>
}<br>
<br>
Any suggestions ? Help please!<br>
<br>
Thanks :)<br>