X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/008837e090c008e3afe7a9c8667070bafa091e62..ae54f991fd1a47a1e8bb3334f163c80388be82da:/sbr/brkstring.c diff --git a/sbr/brkstring.c b/sbr/brkstring.c index d2f71aa3..bdc8c30a 100644 --- a/sbr/brkstring.c +++ b/sbr/brkstring.c @@ -3,8 +3,6 @@ * brkstring.c -- (destructively) split a string into * -- an array of substrings * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -61,7 +59,7 @@ brkstring (char *str, char *brksep, char *brkterm) if (!c || brkany (c, brkterm)) { *s = '\0'; broken[i] = NULL; - return broken; + break; } /* set next start addr */ @@ -71,7 +69,7 @@ brkstring (char *str, char *brksep, char *brkterm) ; /* empty body */ } - return broken; /* NOT REACHED */ + return broken; }