Lines 1-13
Link Here
|
1 |
--- utility.c.orig 2012-10-26 20:05:38 UTC |
|
|
2 |
+++ utility.c |
3 |
@@ -40,6 +40,10 @@ die2(const char* p_text1, const char* p_ |
4 |
void |
5 |
bug(const char* p_text) |
6 |
{ |
7 |
+ static int inside_bug = 0; |
8 |
+ if (inside_bug) |
9 |
+ vsf_sysutil_exit(1); |
10 |
+ inside_bug++; |
11 |
/* Rats. Try and write the reason to the network for diagnostics */ |
12 |
vsf_sysutil_activate_noblock(VSFTP_COMMAND_FD); |
13 |
(void) vsf_sysutil_write_loop(VSFTP_COMMAND_FD, "500 OOPS: ", 10); |