int main( int argc, char * const *argv ) /**************************************/ { int found_file; WSize = 0; Write_buff[WSize] = '\0'; if( parse_options( argc, argv ) ) { return( 1 ); } if( !(Options_dmp & QUIET) ) { wbanner(); } if( Name == NULL || *Name == '\0' ) { usage(); return( 1 ); } found_file = find_file( Name ); if( found_file ) { return( open_files() ); } Wdputs( "Could not open '" ); Wdputs( Name ); Wdputs( "': " ); Wdputslc( strerror( errno ) ); Wdputslc( "\n" ); return( 1 ); }
void show_banner(int idx) { /* we use sock so that colors aren't applied to banner */ if (dcc[idx].status & STAT_BANNER) dumplots(-dcc[idx].sock, "", wbanner()); dprintf(idx, " \n"); dprintf(-dcc[idx].sock, STR(" -------------------------------------------------------- \n")); dprintf(-dcc[idx].sock, STR("| - http://wraith.botpack.net/ - |\n")); dprintf(-dcc[idx].sock, STR("| Get Shell/Irc/Web hosting @ http://www.xzibition.com |\n")); dprintf(-dcc[idx].sock, STR("| Help support wraith development by signing up. |\n")); dprintf(-dcc[idx].sock, STR("| Use coupon code 'wraith' for 30%% off lifetime |\n")); dprintf(-dcc[idx].sock, STR(" -------------------------------------------------------- \n")); dprintf(idx, " \n"); }