Library - step one and hafl

-
This commit is contained in:
wforums 2014-08-15 11:59:53 +02:00
parent 4e66d290a6
commit bc3794eb14

View File

@ -537,13 +537,6 @@ int main(int argc, char *argv[])
fatal(CCX_COMMON_EXIT_FILE_CREATION_FAILED, "Unable to open clean file: %s\n", ccx_options.out_elementarystream_filename); fatal(CCX_COMMON_EXIT_FILE_CREATION_FAILED, "Unable to open clean file: %s\n", ccx_options.out_elementarystream_filename);
} }
} }
if (ccx_options.line_terminator_lf)
encoded_crlf_length = encode_line (encoded_crlf,(unsigned char *) "\n");
else
encoded_crlf_length = encode_line (encoded_crlf,(unsigned char *) "\r\n");
encoded_br_length = encode_line (encoded_br, (unsigned char *) "<br>");
build_parity_table(); build_parity_table();
@ -553,6 +546,13 @@ int main(int argc, char *argv[])
// Initialize libraries // Initialize libraries
init_libraries(); init_libraries();
if (ccx_options.line_terminator_lf)
encoded_crlf_length = encode_line(encoded_crlf, (unsigned char *) "\n");
else
encoded_crlf_length = encode_line(encoded_crlf, (unsigned char *) "\r\n");
encoded_br_length = encode_line(encoded_br, (unsigned char *) "<br>");
time_t start, final; time_t start, final;
time(&start); time(&start);