Loading doc/TODO +2 −2 Original line number Diff line number Diff line Loading @@ -84,10 +84,10 @@ Things we'd like to do in 0.2.0.x: o Implement voting side o Set Named and Unnamed sensibly o Don't reject Unnamed routers. . Implement consensus side o Implement consensus side o Generic "pick which voting method to use" code. o When version 2 is set, set the Unnamed flag right. - Mention (and admit to ourself) that we support method 2. o Mention (and admit to ourself) that we support method 2. o Implement client side - Refactoring: Loading src/common/compat.c +4 −4 Original line number Diff line number Diff line Loading @@ -250,11 +250,11 @@ tor_mmap_file(const char *filename) char *msg = format_win32_error(e); log_fn(severity, LD_FS, "Couldn't mmap file \"%s\": %s", filename, msg); tor_free(msg); } if (e == ERROR_FILE_NOT_FOUND || e == ERROR_PATH_NOT_FOUND) e = ENOENT; errno = ENOENT; else e = EINVAL; errno = EINVAL; } err: if (empty) errno = ERANGE; Loading Loading
doc/TODO +2 −2 Original line number Diff line number Diff line Loading @@ -84,10 +84,10 @@ Things we'd like to do in 0.2.0.x: o Implement voting side o Set Named and Unnamed sensibly o Don't reject Unnamed routers. . Implement consensus side o Implement consensus side o Generic "pick which voting method to use" code. o When version 2 is set, set the Unnamed flag right. - Mention (and admit to ourself) that we support method 2. o Mention (and admit to ourself) that we support method 2. o Implement client side - Refactoring: Loading
src/common/compat.c +4 −4 Original line number Diff line number Diff line Loading @@ -250,11 +250,11 @@ tor_mmap_file(const char *filename) char *msg = format_win32_error(e); log_fn(severity, LD_FS, "Couldn't mmap file \"%s\": %s", filename, msg); tor_free(msg); } if (e == ERROR_FILE_NOT_FOUND || e == ERROR_PATH_NOT_FOUND) e = ENOENT; errno = ENOENT; else e = EINVAL; errno = EINVAL; } err: if (empty) errno = ERANGE; Loading