Hi,
On Tue, May 18, 2021 at 07:23:44PM -0400, Selva Nair wrote:
> > while ((line = strsep(&lines, "\n")))
> > {
> > -/* skip empty lines */
> > -if (strlen(line) == 0)
> > + /* ignore leading whitespace */
> > + while(isspace(*line))
> > + {
> > +
Inline peer-fingerprint blocks can benefit from a bit of structuring
by indentation or by putting comments ("# this is Alice's key").
v2: accept ';' and '#' as comment delimiter. Fix tab-indent.
Signed-off-by: Gert Doering
---
src/openvpn/options.c | 9 +++--
1 file changed, 7 insertions(+
Hi,
On Tue, May 18, 2021 at 10:33 AM Gert Doering wrote:
>
> Inline peer-fingerprint blocks can benefit from a bit of structuring
> by indentation or by putting comments ("# this is Alice's key").
>
> Signed-off-by: Gert Doering
> ---
> src/openvpn/options.c | 9 +++--
> 1 file changed, 7 i
Inline peer-fingerprint blocks can benefit from a bit of structuring
by indentation or by putting comments ("# this is Alice's key").
Signed-off-by: Gert Doering
---
src/openvpn/options.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/openvpn/options.c b/src/ope