diff options
-rw-r--r-- | toxcore/tox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 51aa85ad..54daafc8 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -75,6 +75,7 @@ struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error) | |||
75 | struct Tox_Options *options = calloc(sizeof(struct Tox_Options), 1); | 75 | struct Tox_Options *options = calloc(sizeof(struct Tox_Options), 1); |
76 | 76 | ||
77 | if (options) { | 77 | if (options) { |
78 | tox_options_default(options); | ||
78 | SET_ERROR_PARAMETER(error, TOX_ERR_OPTIONS_NEW_OK); | 79 | SET_ERROR_PARAMETER(error, TOX_ERR_OPTIONS_NEW_OK); |
79 | return options; | 80 | return options; |
80 | } | 81 | } |