Minor bug in win32 test program

Jonas Bechtel post at jbechtel.de
Sat Nov 27 01:30:24 UTC 2021

Hi there,

I'm new here, and I just wanted to tell you about a bug.

That is in testprogs/win32/npecho/npecho_client2.c, lines 92 and 98: The message leads to a segv. It must be %d and not %s for (first and) second argument in printf statement. Correct form: 

printf("message mode returned %d bytes should be %d\n"

Hope this helped.

Best Regards
 Jonas (jbechtel)

More information about the samba-technical mailing list