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)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 30 Nov 2015 21:55:35 +0000 (22:55 +0100)
commit58a503a9659c95813d0eb09382e3478b242f2de8
treed9e393ccfe9e0b7d9631d331d6518fcd4d41c25a
parent400f90a041f724c3e7b65d01560a0098d1cf9be7
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