summaryrefslogtreecommitdiff
path: root/res/res_config_pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_config_pgsql.c')
-rw-r--r--res/res_config_pgsql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c
index 5af753651..e68068cd0 100644
--- a/res/res_config_pgsql.c
+++ b/res/res_config_pgsql.c
@@ -198,7 +198,7 @@ static int _pgsql_exec(const char *database, const char *tablename, const char *
* \return -1 on query failure
* \return 0 on success
*
- * \example
+ * \code
* int i, rows;
* PGresult *result;
* char *field_name, *field_type, *field_len, *field_notnull, *field_default;
@@ -213,7 +213,7 @@ static int _pgsql_exec(const char *database, const char *tablename, const char *
* field_notnull = PQgetvalue(result, i, 3);
* field_default = PQgetvalue(result, i, 4);
* }
- *
+ * \endcode
*/
static int pgsql_exec(const char *database, const char *tablename, const char *sql, PGresult **result)
{