chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: buffer size for snprintf should come from sizeof
[secnet.git]
/
hackypar.c
diff --git
a/hackypar.c
b/hackypar.c
index ebab05147206796f748ce387361c472564f24f26..31ef14576fab7897aa71d5522fe432ddca6ca628 100644
(file)
--- a/
hackypar.c
+++ b/
hackypar.c
@@
-79,7
+79,7
@@
int hacky_par_mid_failnow(void) {
bool_t (*packy_par_gen)(struct site *st);
void hacky_par_end(int *ok,
bool_t (*packy_par_gen)(struct site *st);
void hacky_par_end(int *ok,
-
uint32_t retries, u
int32_t timeout,
+
int32_t retries,
int32_t timeout,
bool_t (*send_msg)(struct site *st), struct site *st) {
int i;
bool_t (*send_msg)(struct site *st), struct site *st) {
int i;
@@
-115,7
+115,7
@@
void hacky_par_end(int *ok,
int hacky_par_start_failnow(void) { return 0; }
int hacky_par_mid_failnow(void) { return 0; }
void hacky_par_end(int *ok,
int hacky_par_start_failnow(void) { return 0; }
int hacky_par_mid_failnow(void) { return 0; }
void hacky_par_end(int *ok,
-
uint32_t retries, u
int32_t timeout,
+
int32_t retries,
int32_t timeout,
bool_t (*send_msg)(struct site *st), struct site *st) { }
#endif /*HACKY_PARALLEL...else*/
bool_t (*send_msg)(struct site *st), struct site *st) { }
#endif /*HACKY_PARALLEL...else*/