-spell param(eter) correctly
authorChristian Grothoff <christian@grothoff.org>
Tue, 1 Oct 2013 22:17:20 +0000 (22:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 1 Oct 2013 22:17:20 +0000 (22:17 +0000)
src/conversation/gnunet-service-conversation.c
src/include/gnunet_postgres_lib.h
src/include/winproc.h
src/postgres/postgres.c
src/scalarproduct/gnunet-service-scalarproduct.c

index 181ba835188aaac9902141514afee0aefc2eed27..d9af9a523a70067ffe295dbe4f981b58ad19a254 100644 (file)
@@ -967,8 +967,8 @@ transmit_audio_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 * Function to handle a initiation messaage incoming over mesh
  * @param cls closure, NULL
  * @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
  * 
  * @return GNUNET_OK
 */
@@ -1097,8 +1097,8 @@ handle_mesh_initiate_message (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
 * Function to handle an accept messaage incoming over mesh
  * @param cls closure, NULL
  * @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
  * 
  * @return GNUNET_OK
 */
@@ -1177,8 +1177,8 @@ handle_mesh_accept_message (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
 * Function to handle a reject messaage incoming over mesh
  * @param cls closure, NULL
  * @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
  * 
  * @return GNUNET_OK
 */
@@ -1230,8 +1230,8 @@ handle_mesh_reject_message (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
 * Function to handle a terminate messaage incoming over mesh
  * @param cls closure, NULL
  * @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
  * 
  * @return GNUNET_OK
 */
@@ -1275,8 +1275,8 @@ handle_mesh_terminate_message (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
 * Function to handle a audio messaage incoming over mesh
  * @param cls closure, NULL
  * @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
  * 
  * @return GNUNET_OK
 */
index 559793daf0837772b65481e66a29b82376f0d0f4..8f720474893f5175b583a12029799a33a71e00be 100644 (file)
@@ -101,14 +101,14 @@ GNUNET_POSTGRES_exec_ (PGconn *dbh, const char *sql, const char *filename, int l
  * @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,
+                         int nparams,
                          const char *filename, int line);
 
 
index 9a9ae4b7a509c4a0a7304309470d3c2e313e3fd4..78246c58e0c28bef189638f364023ef383a9ad77 100644 (file)
@@ -112,7 +112,7 @@ extern "C"
   typedef NET_API_STATUS WINAPI (*TNetUserSetInfo) (LPCWSTR servername,
                                                     LPCWSTR username,
                                                     DWORD level, LPBYTE buf,
-                                                    LPDWORD parm_err);
+                                                    LPDWORD param_err);
   typedef NTSTATUS NTAPI (*TLsaOpenPolicy) (PLSA_UNICODE_STRING,
                                             PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK,
                                             PLSA_HANDLE);
index 1001452897f1fb42ff43522f589cea995edabf4b..d2d52aec52694a51052cf5df614c20134778614f 100644 (file)
@@ -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))
index 99ae47332413c544e455c58d72213ff5e0eff06e..ec3dbe8933bb23b936a9adf9b4b89aa8dce7dd3b 100644 (file)
@@ -271,7 +271,7 @@ static int do_shutdown;
 static void
 generate_keyset ()
 {
-  gcry_sexp_t gen_parms;
+  gcry_sexp_t gen_params;
   gcry_sexp_t key;
   gcry_sexp_t tmp_sexp;
   gcry_mpi_t p;
@@ -283,12 +283,12 @@ generate_keyset ()
   size_t erroff = 0;
 
   // we can still use the RSA keygen for generating p,q,n, but using e is pointless.
-  GNUNET_assert (0 == gcry_sexp_build (&gen_parms, &erroff,
+  GNUNET_assert (0 == gcry_sexp_build (&gen_params, &erroff,
                                        "(genkey(rsa(nbits %d)(rsa-use-e 3:257)))",
                                        KEYBITS));
 
-  GNUNET_assert (0 == gcry_pk_genkey (&key, gen_parms));
-  gcry_sexp_release (gen_parms);
+  GNUNET_assert (0 == gcry_pk_genkey (&key, gen_params));
+  gcry_sexp_release (gen_params);
 
   // get n and d of our publickey as MPI  
   tmp_sexp = gcry_sexp_find_token (key, "n", 0);