write_redis: pass a literal string to snprintf()
authorMarc Fournier <marc.fournier@camptocamp.com>
Mon, 24 Nov 2014 14:00:45 +0000 (15:00 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 24 Nov 2014 20:45:06 +0000 (21:45 +0100)
commitfe51150452ef2aa55add52dd6fbee6ec1960ca66
treed4d9f41606423c25b89bb36a69c6e3f6370b8bae
parentf14ab93574956799debcc592d8f647cd0d5a632d
write_redis: pass a literal string to snprintf()

This corrects the following compiler warning when building with
"-Werror=format-security" (the default when building debian packages):

write_redis.c:91:3: error: format not a string literal and no format
arguments
src/write_redis.c