From d7e2022bdd1626fbcb614710bec20b4a42278f9a Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 18 Sep 2020 15:29:47 +0200 Subject: #941 pass og_dbi to og_dbi_get_computer_info() Reuse the existing dbi handler, instead of opening a new one. --- src/dbi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dbi.h') diff --git a/src/dbi.h b/src/dbi.h index 1d11aa2..ec7c042 100644 --- a/src/dbi.h +++ b/src/dbi.h @@ -58,6 +58,7 @@ struct og_computer { }; struct in_addr; -int og_dbi_get_computer_info(struct og_computer *computer, struct in_addr addr); +int og_dbi_get_computer_info(struct og_dbi *dbi, struct og_computer *computer, + struct in_addr addr); #endif -- cgit v1.2.3-18-g5258