diff options
author | irungentoo <irungentoo@gmail.com> | 2015-03-26 12:39:09 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-03-26 12:39:09 -0400 |
commit | 06b389ea5e4e0ffb1f8e6627d4909c53c23099e1 (patch) | |
tree | 6689e3ec5c518f2fbb07ca139cf5a944fe86b020 /toxcore | |
parent | e888b89ac94066ab80bd72dbaa347bdab3856020 (diff) |
Making tox_encrypted_new() use the same error codes as tox_new was a bad idea.
They now have their own error codes.
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/tox.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index f645282e..e9d007db 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -488,14 +488,6 @@ typedef enum TOX_ERR_NEW { | |||
488 | */ | 488 | */ |
489 | TOX_ERR_NEW_LOAD_ENCRYPTED, | 489 | TOX_ERR_NEW_LOAD_ENCRYPTED, |
490 | /** | 490 | /** |
491 | * The encrypted byte array could not be decrypted. Either the data was | ||
492 | * corrupt or the password/key was incorrect. | ||
493 | * | ||
494 | * NOTE: This error code is only set by tox_encrypted_new() and | ||
495 | * tox_encrypted_key_new(), in the toxencryptsave module. | ||
496 | */ | ||
497 | TOX_ERR_NEW_LOAD_DECRYPTION_FAILED, | ||
498 | /** | ||
499 | * The data format was invalid. This can happen when loading data that was | 491 | * The data format was invalid. This can happen when loading data that was |
500 | * saved by an older version of Tox, or when the data has been corrupted. | 492 | * saved by an older version of Tox, or when the data has been corrupted. |
501 | * When loading from badly formatted data, some data may have been loaded, | 493 | * When loading from badly formatted data, some data may have been loaded, |