**************************************************************************/
static void send_election_dgram(struct subnet_record *subrec, const char *workgroup_name,
- uint32 criterion, int timeup,const char *server_name)
+ uint32_t criterion, int timeup,const char *server_name)
{
char outbuf[1024];
unstring srv_name;
******************************************************************/
static bool win_election(struct work_record *work, int version,
- uint32 criterion, int timeup, const char *server_name)
+ uint32_t criterion, int timeup, const char *server_name)
{
int mytimeup = time(NULL) - StartupTime;
- uint32 mycriterion = work->ElectionCriterion;
+ uint32_t mycriterion = work->ElectionCriterion;
/* If local master is false then never win in election broadcasts. */
if(!lp_local_master()) {
{
struct dgram_packet *dgram = &p->packet.dgram;
int version = CVAL(buf,0);
- uint32 criterion = IVAL(buf,1);
+ uint32_t criterion = IVAL(buf,1);
int timeup = IVAL(buf,5)/1000;
unstring server_name;
struct work_record *work;