Welcome to the Builder Academy

Question Remove Protocol messages.

More
28 Dec 2015 14:04 #5545 by Fubar
In comm.c you will see:
Code:
if (CONFIG_PROTOCOL_NEGOTIATION) { /* Attach Event */ NEW_EVENT(ePROTOCOLS, newd, NULL, 1.5 * PASSES_PER_SEC); /* KaVir's plugin*/ write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n"); ProtocolNegotiate(newd); } else { greetsize = strlen(GREETINGS); write_to_output(newd, "%s", ProtocolOutput(newd, GREETINGS, &greetsize)); } return (0); }


Comment out:
Code:
write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n");

To:
Code:
/* write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n"); */

Changes:
Code:
NEW_EVENT(ePROTOCOLS, newd, NULL, 1.5 * PASSES_PER_SEC);

T0 (Do not drop below 4 or it causes some artifacts):
Code:
NEW_EVENT(ePROTOCOLS, newd, NULL, 0.4 * PASSES_PER_SEC);


Next, open up interpreter.c find:
Code:
EVENTFUNC(get_protocols)


Now near the end find:
Code:
write_to_output(d, buf, 0);

and Change to:
Code:
/* write_to_output(d, buf, 0); */

All done!
The following user(s) said Thank You: jandulio

Please Log in or Create an account to join the conversation.

Time to create page: 0.174 seconds