Commit 55129ce9 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Aurelio Colosimo

proto-standard/common-fun: turn Boolean to int

Boolean is braindead. We decided to leave them in the mandated
structures by now (until we discover they are not really mandated) but
not use them ourselves. This "found" variable wanted to be int, so be
it int.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <>
Acked-by: Aurelio Colosimo's avatarAurelio Colosimo <>
parent d341232c
......@@ -68,7 +68,7 @@ int st_com_check_record_update(struct pp_instance *ppi)
void st_com_add_foreign(unsigned char *buf, struct pp_instance *ppi)
int i, j;
Boolean found = FALSE;
int found = 0;
MsgHeader *hdr = &ppi->msg_tmp_header;
j = ppi->foreign_record_best;
......@@ -85,7 +85,7 @@ void st_com_add_foreign(unsigned char *buf, struct pp_instance *ppi)
/* Foreign Master is already in Foreign master data set
found = TRUE;
found = 1;
/* FIXME diag
DBGV("addForeign : AnnounceMessage incremented \n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment