Code

amqp: use the right buffer size for sstrncpy
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 17:48:20 +0000 (18:48 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 17:48:20 +0000 (18:48 +0100)
commitfdf35969e6616be69f376c213235072cccf06569
treedaeb5f67c9a5072cbd3c52c41ab8e7e87223e283
parent2b2a769a556c9ef1c79e05d6440a4ee76688e8d3
amqp: use the right buffer size for sstrncpy

buffer is a char *, not an array, so size_of returns the size
of the pointer.
src/amqp.c