소스 검색

Fix Typeo: authmetod -> authmethod

Exported parameter for authmethod was mis-spelled as authmetod.
Barry flanagan 7 년 전
부모
커밋
9c6ec4a85b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/modules/http_client/doc/http_client_admin.xml
  2. 1 1
      src/modules/http_client/http_client.c

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