core: readability tweak
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 13 Jul 2017 16:24:54 +0000 (18:24 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 13 Jul 2017 16:24:54 +0000 (18:24 +0200)
commit3de15947e4b563855963c34f03706465c5d28d02
treed5231b4852200bf5071e048e04508fcd9ea441df
parent5571ba17ce5a978025edf94ef7a68e2ab06daeec
core: readability tweak

Create separate static functions for checking the request type.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c