common: Avoid pointer arithmetic on string literals.
authorJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 12:48:52 +0000 (14:48 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 12:48:52 +0000 (14:48 +0200)
commit4aadc751f201f8f97c9c1f454e3a29803cce3edb
tree5d212ba9acd087e8d751b4b683e628d69b5e4388
parentb0d2526bc4e5c663eeffe04500420c70cee98712
common: Avoid pointer arithmetic on string literals.

* common/gettime.c (rfctimestamp): Use indexing instead.
* common/signal.c (got_fatal_signal): Likewise.
common/gettime.c
common/signal.c