diff options
| author | Jesper Jensen <DelusionalLogic@users.noreply.github.com> | 2021-10-27 20:29:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-27 20:29:41 +0200 |
| commit | 4527a87385c56cb2a5cf0269d4638b604a1f039b (patch) | |
| tree | 031e8a09ec26229b31f58e2189d0023898881d20 /src/main.c | |
| parent | ef39868b6bffa3030c7cbc083df1301849fba0f7 (diff) | |
| parent | 42a627aab5e47c3f3e05460322b9c1c3f2c69214 (diff) | |
Merge pull request #1 from DelusionalLogic/mainflush
Mainflush
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,11 +21,12 @@ int main(int argc, char** argv) { struct dht dht; dht.self = (struct nodeid){.inner={0xebe9bbf1, 0x3cdba6b3, 0x993e0c87, 0x900d5e25}}; + routing_init(&dht.self); + struct message* message_cursor = outbuff; proto_begin(&dht, time(NULL), &message_cursor, outbuff+32); flush_messages(dht.sfd, outbuff, message_cursor); - char buff_storage[2049]; int rc = 0; while(rc == 0) { |
