diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-04-10 21:04:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-04-10 21:07:52 +0300 |
commit | a9da878ff22f980cea3bf3102113d7f2e65f61e9 (patch) | |
tree | dd3e21c580b91f6ab3d64e228ccb23170f3ddac3 /src/sql.h | |
parent | da966c314f92d17b45ede9aa77ad3d3624c36725 (diff) | |
download | wydawca-a9da878ff22f980cea3bf3102113d7f2e65f61e9.tar.gz wydawca-a9da878ff22f980cea3bf3102113d7f2e65f61e9.tar.bz2 |
Change indentation to improve readability.
Diffstat (limited to 'src/sql.h')
-rw-r--r-- | src/sql.h | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -17,19 +17,19 @@ #include <mysql/mysql.h> struct sqlconn { - char *ident; - char *config_file; - char *config_group; - char *host; - char *socket; - short port; - char *database; - char *user; - char *password; - char *cacert; - size_t initcount; /* Number of initializations */ - MYSQL mysql; - MYSQL_RES *result; + char *ident; + char *config_file; + char *config_group; + char *host; + char *socket; + short port; + char *database; + char *user; + char *password; + char *cacert; + size_t initcount; /* Number of initializations */ + MYSQL mysql; + MYSQL_RES *result; }; void sql_register_conn(struct sqlconn *); @@ -45,4 +45,5 @@ int sql_lookup_dictionary(struct dictionary *dict, void *handle, int sql_get_dictionary(struct dictionary *dict, void *handle, unsigned nrow, unsigned ncol); int sql_free_result(struct dictionary *dict, void *handle); -int sql_quote(struct dictionary *, void *, const char *, char **, size_t *); +int sql_quote(struct dictionary *, void *, const char *, char **, + size_t *); |