Progress
This commit is contained in:
+2
-2
@@ -1341,7 +1341,7 @@ static void process_event_for_write(TinyDFS *tdfs,
|
||||
tdfs->operations[opidx].result = (TinyDFS_Result) { .type=TINYDFS_RESULT_WRITE_ERROR };
|
||||
return;
|
||||
}
|
||||
#if 1
|
||||
#if 0
|
||||
{
|
||||
char ip_str[INET_ADDRSTRLEN];
|
||||
inet_ntop(AF_INET, &ipv4, ip_str, sizeof(ip_str));
|
||||
@@ -1404,7 +1404,7 @@ static void process_event_for_write(TinyDFS *tdfs,
|
||||
tdfs->operations[opidx].result = (TinyDFS_Result) { .type=TINYDFS_RESULT_WRITE_ERROR };
|
||||
return;
|
||||
}
|
||||
#if 1
|
||||
#if 0
|
||||
{
|
||||
char ip_str[INET_ADDRSTRLEN];
|
||||
inet_ntop(AF_INET6, &ipv6, ip_str, sizeof(ip_str));
|
||||
|
||||
@@ -412,6 +412,7 @@ static bool find_peer_by_address(DescriptorAddress address, DescriptorHandle *ha
|
||||
|
||||
for (int j = 0, k = 0; k < processes[i]->num_desc; j++) {
|
||||
|
||||
assert(j < MAX_DESCRIPTORS);
|
||||
Descriptor *desc = &processes[i]->desc[j];
|
||||
if (desc->type == DESC_EMPTY)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user