added more curly braces + a bit more usage of dbm::is_result()
added more curly braces + a bit more usage of dbm::is_result()

Signed-off-by: Roland Häder <0d270388f2f92757a5de0f4bd891d3b392c44c4f@mxchange.org>

tobiasd/friendica,annando/friendica,fabrixxm/friendica,annando/friendica,tobiasd/friendica,friendica/friendica,annando/friendica,fabrixxm/friendica,tobiasd/friendica,friendica/friendica,tobiasd/friendica,fabrixxm/friendica,fabrixxm/friendica,friendica/friendica,friendica/friendica,annando/friendica,tobiasd/friendica,fabrixxm/friendica,annando/friendica,friendica/friendica