From a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:39 +0200 Subject: format files --- src/gfrom.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/gfrom.c') diff --git a/src/gfrom.c b/src/gfrom.c index c04b65f..09eaa80 100644 --- a/src/gfrom.c +++ b/src/gfrom.c @@ -1,8 +1,12 @@ -#include "str.h" #include "gfrom.h" -int gfrom(char *s,int len) +#include "str.h" + +int gfrom(char *s, int len) { - while ((len > 0) && (*s == '>')) { ++s; --len; } - return (len >= 5) && !str_diffn(s,"From ",5); + while ((len > 0) && (*s == '>')) { + ++s; + --len; + } + return (len >= 5) && !str_diffn(s, "From ", 5); } -- cgit v1.2.3