From fb56d9fbf55248d70362e5a8954941102775602f Mon Sep 17 00:00:00 2001 From: Mazet Laurent Date: Wed, 7 May 2025 15:05:00 +0200 Subject: [PATCH] cleaning --- morep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morep.c b/morep.c index 41a39a0..f99bc5c 100644 --- a/morep.c +++ b/morep.c @@ -119,7 +119,7 @@ void free_all_moreps (void) VERBOSE (morep, INFO, FPRINTF (stdout, "memory cleaned\n")); } -void __attribute__((constructor)) _init_morep_ (void) +void __attribute__ ((constructor)) _init_morep_ (void) { alloc_all_moreps (); atexit (free_all_moreps); @@ -294,7 +294,7 @@ int MOREP_Connect (char *url) return -1; } - int sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); + int sock = socket (PF_PACKET, SOCK_RAW, htons (ETH_P_ALL)); if (sock < 0) { VERBOSE (morep, ERROR, PRINTF ("socket(): %s\n", strerror (errno))); VERBOSE (morep, ERROR, PRINTF ("Warning: you must be root to have raw access to sockets\n")); -- 2.30.2