Re: Fix example/subsystem_netconf.c

2021-09-12 Thread Peter Stuge via libssh2-devel
Hi Christian, Christian Weisgerber via libssh2-devel wrote: > In libssh2's example/subsystem_netconf.c, a pointer to a variable > of the wrong size (on LP64) is passed. Ouch. The patch below fixes > this and also eliminates the %n format specifier that is increasingly > discouraged: The example

Re: Fix example/subsystem_netconf.c

2021-09-11 Thread Yuriy M. Kaminskiy via libssh2-devel
On 11.09.2021 20:33, Christian Weisgerber via libssh2-devel wrote: > In libssh2's example/subsystem_netconf.c, a pointer to a variable > of the wrong size (on LP64) is passed. Ouch. The patch below fixes > this and also eliminates the %n format specifier that is increasingly > discouraged: >