<commit_before>#include "logtest.h"
#include <string.h>


int readlog( char[] logname )
{
	*FILE log;
	
	/** If file can't be opened, spit out an error **/
	if ( log = fopen( logname, "r" ) == NULL )
	{
		printf("\nError when opening logfile\n");
		return 0;
	}
	else
	{


		return 1;

	}
}<commit_msg>Edited comments<commit_after>#include "logtest.h"
#include <string.h>


int readlog( char[] logname )
{
	*FILE log;
	
	/** If file can't be opened, print an error and exit the function **/
	if ( log = fopen( logname, "r" ) == NULL )
	{
		printf("\nError when opening logfile\n");
		return 0;
	}
	else /** logfile was succesfully opened **/
	{



		return 1;

	}
}
{'fraction_non_alphanumeric': 0.1593984962406015, 'fraction_numerical': 0.006015037593984963, 'mean_word_length': 3.111111111111111, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5794455', 'n_tokens_mistral': 278, 'n_tokens_neox': 252, 'n_words': 76}