Signed-off-by: Ralph Boehme <rb@sernet.de>
}
/* build our data packet */
}
/* build our data packet */
- data_len = build_fce_packet(obj, iobuf, event, path, oldpath, getpid(), user, ++event_id);
+ data_len = build_fce_packet(obj, iobuf, event, path, oldpath, getpid(), user, event_id);
sent_data = sendto(udp_entry->sock,
iobuf,
sent_data = sendto(udp_entry->sock,
iobuf,
udp_entry->next_try_on_error = now + FCE_SOCKET_RETRY_DELAY_S;
}
}
udp_entry->next_try_on_error = now + FCE_SOCKET_RETRY_DELAY_S;
}
}
}
static int add_udp_socket(const char *target_ip, const char *target_port )
}
static int add_udp_socket(const char *target_ip, const char *target_port )