mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'new_api_patch' of https://github.com/Impyy/toxcore into new_api
This commit is contained in:
commit
08585e5b60
|
@ -75,6 +75,7 @@ struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error)
|
|||
struct Tox_Options *options = calloc(sizeof(struct Tox_Options), 1);
|
||||
|
||||
if (options) {
|
||||
tox_options_default(options);
|
||||
SET_ERROR_PARAMETER(error, TOX_ERR_OPTIONS_NEW_OK);
|
||||
return options;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user