common: Improve log_assert.
authorWerner Koch <wk@gnupg.org>
Fri, 29 Apr 2016 09:04:04 +0000 (11:04 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 29 Apr 2016 09:04:04 +0000 (11:04 +0200)
commit9740dff9f4d18ba764dc7173d4902e94e3f0c2e8
tree3fb4d6c799e410af9b52f0efc02238230ec66f62
parentcb4fee8bb645745ff199f7428e19226d5bc63dab
common: Improve log_assert.

* common/logging.c (bug_at): Do not i18n the string.
(_log_assert): New.
* common/logging.h (log_assert): Use new function and pass line
information.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/logging.c
common/logging.h