pulse-server: rename module_info::prepare() to create()

Now that the method does not actually create the `module` object,
it would be somewhat misleading to call it "create",
so rename it to "prepare".
This commit is contained in:
Barnabás Pőcze 2022-06-01 20:53:42 +02:00
parent fa3a28ab68
commit 75d28cadcd
25 changed files with 57 additions and 57 deletions

View file

@ -318,7 +318,7 @@ struct module *module_create(struct client *client, const char *name, const char
if (args)
module_args_add_props(module->props, args);
int res = module->info->create(module);
int res = module->info->prepare(module);
if (res < 0) {
module_free(module);
errno = -res;