Răsfoiți Sursa

Fix Typeo: authmetod -> authmethod

Exported parameter for authmethod was mis-spelled as authmetod.
Barry flanagan 7 ani în urmă
părinte
comite
9c6ec4a85b

+ 1 - 1
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>

+ 1 - 1
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}
 };