[PATCH ocserv 2/3] Use helper functions to send common HTTP headers/responses
Nikos Mavrogiannopoulos
nmav at gnutls.org
Mon Jan 25 00:53:18 PST 2016
On Sun, Jan 24, 2016 at 10:11 PM, Kevin Cernekee <cernekee at gmail.com> wrote:
> Factor out duplicated code in the AnyConnect compatibility handlers.
Hi Kevin,
On this particular patch send_string() uses strlen(), instead of
relying on the compile-time sizeof(). Is there any need for that?
Since the strings are fixed, I don't see an advantage from using
strlen().
regards,
Nikos
More information about the openconnect-devel
mailing list