summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-03-15 18:41:00 -0400
committerirungentoo <irungentoo@gmail.com>2015-03-15 18:41:00 -0400
commit08585e5b60aeaf304701245ea7a1b7e3ce843e57 (patch)
tree4edad7d7b92a60c2d2b98b8b72e7717258630f92
parentec659491b265db747e67ef8a166d224c0453397d (diff)
parent409897f7aeb9d3c710aed4466f75eb058842a343 (diff)
Merge branch 'new_api_patch' of https://github.com/Impyy/toxcore into new_api
-rw-r--r--toxcore/tox.c1
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 }