[sr-dev] git:master:9c6ec4a8: Fix Typeo: authmetod -> authmethod
Daniel-Constantin Mierla
miconda at gmail.com
Wed Sep 26 13:25:29 CEST 2018
Module: kamailio
Branch: master
Commit: 9c6ec4a85b23d4e2795800b632ac9855f2028fec
URL: https://github.com/kamailio/kamailio/commit/9c6ec4a85b23d4e2795800b632ac9855f2028fec
Author: Barry flanagan <barry at flanagan.ie>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-09-26T13:25:23+02:00
Fix Typeo: authmetod -> authmethod
Exported parameter for authmethod was mis-spelled as authmetod.
---
Modified: src/modules/http_client/doc/http_client_admin.xml
Modified: src/modules/http_client/http_client.c
---
Diff: https://github.com/kamailio/kamailio/commit/9c6ec4a85b23d4e2795800b632ac9855f2028fec.diff
Patch: https://github.com/kamailio/kamailio/commit/9c6ec4a85b23d4e2795800b632ac9855f2028fec.patch
---
diff --git a/src/modules/http_client/doc/http_client_admin.xml b/src/modules/http_client/doc/http_client_admin.xml
index cafa86574b..6e772aa9f5 100644
--- a/src/modules/http_client/doc/http_client_admin.xml
+++ b/src/modules/http_client/doc/http_client_admin.xml
@@ -404,7 +404,7 @@ modparam("http_client", "tlsversion", 6)
<programlisting format="linespecific">
...
# Use the best of BASIC and Digest authentication.
-modparam("http_client", "authmetod", 3)
+modparam("http_client", "authmethod", 3)
...
</programlisting>
</example>
diff --git a/src/modules/http_client/http_client.c b/src/modules/http_client/http_client.c
index 9b8abc984d..e243953367 100644
--- a/src/modules/http_client/http_client.c
+++ b/src/modules/http_client/http_client.c
@@ -186,7 +186,7 @@ static param_export_t params[] = {
{"maxdatasize", PARAM_INT, &default_maxdatasize },
{"config_file", PARAM_STR, &http_client_config_file },
{"httpcon", PARAM_STRING|USE_FUNC_PARAM, (void*)curl_con_param},
- {"authmetod", PARAM_INT, &default_authmethod },
+ {"authmethod", PARAM_INT, &default_authmethod },
{"keep_connections", PARAM_INT, &default_keep_connections },
{0, 0, 0}
};
More information about the sr-dev
mailing list