diff options
author | irungentoo <irungentoo@gmail.com> | 2015-03-15 18:41:00 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-03-15 18:41:00 -0400 |
commit | 08585e5b60aeaf304701245ea7a1b7e3ce843e57 (patch) | |
tree | 4edad7d7b92a60c2d2b98b8b72e7717258630f92 /toxcore/tox.c | |
parent | ec659491b265db747e67ef8a166d224c0453397d (diff) | |
parent | 409897f7aeb9d3c710aed4466f75eb058842a343 (diff) |
Merge branch 'new_api_patch' of https://github.com/Impyy/toxcore into new_api
Diffstat (limited to 'toxcore/tox.c')
-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 | } |