Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
19f2057d
Commit
19f2057d
authored
Jul 09, 2018
by
Nick Mathewson
🐛
Browse files
Fix some lingering windows compilation issues from Jenkins.
These were caused by the recent refactoring.
parent
eb856a3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/feature/nodelist/microdesc.c
View file @
19f2057d
...
...
@@ -723,7 +723,7 @@ microdesc_cache_rebuild(microdesc_cache_t *cache, int force)
log_warn
(
LD_BUG
,
"Discontinuity in position in microdescriptor cache."
"By my count, I'm at %"
PRId64
", but I should be at %"
PRId64
,
(
off
),
(
off_real
));
(
int64_t
)(
off
),
(
int64_t
)
(
off_real
));
if
(
off_real
>=
0
)
off
=
off_real
;
}
...
...
src/lib/encoding/time_fmt.c
View file @
19f2057d
...
...
@@ -26,6 +26,11 @@
#include <string.h>
#include <time.h>
#ifdef _WIN32
/* For struct timeval */
#include <winsock2.h>
#endif
/** As localtime_r, but defined for platforms that don't have it:
*
* Convert *<b>timep</b> to a struct tm in local time, and store the value in
...
...
src/test/test_shared_random.c
View file @
19f2057d
...
...
@@ -30,6 +30,11 @@
#include <sys/stat.h>
#endif
#ifdef _WIN32
/* For mkdir */
#include <direct.h>
#endif
static
authority_cert_t
*
mock_cert
;
static
authority_cert_t
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment