Skip to content

Commit 5f60ec8

Browse files
timopollmeierbjoernricks
authored andcommitted
Apply copy-paste typo fixes from review
Co-authored-by: Björn Ricks <bjoern.ricks@greenbone.net>
1 parent 7be384d commit 5f60ec8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/gsad_args.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ gsad_args_parse (int argc, char **argv, gsad_args_t *args)
110110
{"munix-socket", '\0', 0, G_OPTION_ARG_FILENAME,
111111
&args->manager_unix_socket_path, "Path to Manager unix socket", "<file>"},
112112
{"http-coep", 0, 0, G_OPTION_ARG_STRING, &args->http_coep,
113-
"Set Cross-Origin-Embedder-Policy (CORP) http header ", "<coep>"},
113+
"Set Cross-Origin-Embedder-Policy (COEP) http header ", "<coep>"},
114114
{"http-coop", 0, 0, G_OPTION_ARG_STRING, &args->http_coop,
115-
"Set Cross-Origin-Resource-Policy (CORP) http header ", "<coop>"},
115+
"Set Cross-Origin-Resource-Policy (COOP) http header ", "<coop>"},
116116
{"http-corp", 0, 0, G_OPTION_ARG_STRING, &args->http_corp,
117117
"Set Cross-Origin-Resource-Policy (CORP) http header ", "<corp>"},
118118
{"http-cors", 0, 0, G_OPTION_ARG_STRING, &args->http_cors,

src/gsad_settings.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,11 @@ gsad_settings_set_http_coep (gsad_settings_t *settings, const gchar *policy)
304304
}
305305

306306
/**
307-
* @brief Get the HTTP Cross-Origin-Opener-Policy header value.
307+
* @brief Get the HTTP Cross-Origin-Embedder-Policy header value.
308308
*
309309
* @param[in] settings The settings instance to query.
310310
*
311-
* @return The value set for the HTTP Cross-Origin-Opener-Policy header,
311+
* @return The value set for the HTTP Cross-Origin-Embedder-Policy header,
312312
* or NULL if the header is disabled. The value is owned by the settings and
313313
* should not be modified or freed by the caller.
314314
*/

0 commit comments

Comments
 (0)