aboutsummaryrefslogtreecommitdiff
path: root/src/postgres/postgres.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2013-10-01 22:17:20 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2013-10-01 22:17:20 +0000
commit63e3c6c6f37d709d76db8023736d1434e79bd504 (patch)
tree8fcff7048b314cac2f16ea791c76f4db255ea8e4 /src/postgres/postgres.c
parent13bf6530542030168c7a81040489e1f4d652fb08 (diff)
-spell param(eter) correctly
git-svn-id: https://gnunet.org/svn/gnunet@29778 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/postgres/postgres.c')
-rw-r--r--src/postgres/postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/postgres/postgres.c b/src/postgres/postgres.c
index 1001452897..d2d52aec52 100644
--- a/src/postgres/postgres.c
+++ b/src/postgres/postgres.c
@@ -96,18 +96,18 @@ GNUNET_POSTGRES_exec_ (PGconn * dbh, const char *sql, const char *filename,
* @param dbh database handle
* @param name name for the prepared SQL statement
* @param sql SQL code to prepare
- * @param nparms number of parameters in sql
+ * @param nparams number of parameters in sql
* @param filename filename for error reporting
* @param line code line for error reporting
* @return GNUNET_OK on success
*/
int
GNUNET_POSTGRES_prepare_ (PGconn * dbh, const char *name, const char *sql,
- int nparms, const char *filename, int line)
+ int nparams, const char *filename, int line)
{
PGresult *ret;
- ret = PQprepare (dbh, name, sql, nparms, NULL);
+ ret = PQprepare (dbh, name, sql, nparams, NULL);
if (GNUNET_OK !=
GNUNET_POSTGRES_check_result_ (dbh, ret, PGRES_COMMAND_OK, "PQprepare",
sql, filename, line))