<commit_before>#include <tiny_runtime.h>

static struct sockaddr_storage addr;

static int
callback(int s, struct sockaddr *addr, socklen_t addrlen)
{
	struct sockaddr_un *paddr;
	socklen_t namelen;
	int error;

	paddr = (struct sockaddr_un *)&addr;
	namelen = sizeof(addr);
	error = getpeername(s, (struct sockaddr *)paddr, &namelen);
	if (error != 0)
		return (error);
	tr_print_num(strlen(paddr->sun_path));

	return (0);
}<commit_msg>Fixed the test for getpeername(2).<commit_after>#include <tiny_runtime.h>

static struct sockaddr_storage storage;

static int
callback(int s, struct sockaddr *addr, socklen_t addrlen)
{
	struct sockaddr_un *paddr;
	socklen_t namelen;
	int error;

	paddr = (struct sockaddr_un *)&storage;
	namelen = sizeof(storage);
	error = getpeername(s, (struct sockaddr *)paddr, &namelen);
	if (error != 0)
		return (error);
	tr_print_num(strlen(paddr->sun_path));

	return (0);
}
{'fraction_non_alphanumeric': 0.12693156732891833, 'fraction_numerical': 0.005518763796909493, 'mean_word_length': 5.768656716417911, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '974169', 'n_tokens_mistral': 340, 'n_tokens_neox': 334, 'n_words': 88}