version 1.3, 2014/02/24 22:28:54
|
version 1.3.2.1, 2017/01/22 21:00:33
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2014 | Copyright 2004 - 2017 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 83 flushBuffer(int fd)
|
Line 83 flushBuffer(int fd)
|
m = cfg_getAttribute(&cfg, "tftpd", "buf_pad"); |
m = cfg_getAttribute(&cfg, "tftpd", "buf_pad"); |
if (m && RPACK_OFF(bf) && RPACK_REMAIN(bf)) { |
if (m && RPACK_OFF(bf) && RPACK_REMAIN(bf)) { |
memset(RPACK_NEXT(bf), (u_char) strtol(m, NULL, 0), RPACK_REMAIN(bf)); |
memset(RPACK_NEXT(bf), (u_char) strtol(m, NULL, 0), RPACK_REMAIN(bf)); |
EVERBOSE(4, "Padding buffer with '%c' len=%d", *m, RPACK_REMAIN(bf)); | EVERBOSE(4, "Padding buffer with '%c' len=%lu", *m, (u_long) RPACK_REMAIN(bf)); |
rpack_rnext(bf, RPACK_REMAIN(bf)); |
rpack_rnext(bf, RPACK_REMAIN(bf)); |
} |
} |
|
|