[PATCH ocserv 2/3] Use helper functions to send common HTTP headers/responses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux