<commit_before>/* The contents of this file is in the public domain. */
#include <ipify.h>

int main(void)
{
	char addr[256];
#if 0
	int sd;

	sd = ipify_connect();
	if (sd < 0)
		return 1;

	if (!ipify_query(sd, addr, sizeof(addr)))
		printf("%s\n", addr);

	return ipify_disconnect(sd);
#else
	if (ipify(addr, sizeof(addr)))
		return 1;

	printf("%s\n", addr);
	return 0;
#endif
}<commit_msg>Drop ifdefs in favor of more comprehensive code<commit_after>/* The contents of this file is in the public domain. */
#include <ipify.h>

int main(void)
{
	char addr[256];
	int sd;

	sd = ipify_connect();
	if (sd < 0)
		return 1;

	if (!ipify_query(sd, addr, sizeof(addr)))
		printf("%s\n", addr);

	return ipify_disconnect(sd);
}
{'fraction_non_alphanumeric': 0.16022099447513813, 'fraction_numerical': 0.017955801104972375, 'mean_word_length': 4.105633802816901, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5658499', 'n_tokens_mistral': 302, 'n_tokens_neox': 277, 'n_words': 88}