Skip to content
Snippets Groups Projects
Commit 8776b5e9 authored by rswindell's avatar rswindell
Browse files

Attempt to addres Bill McGarrity's reported error:

2016-01-20 06:06:39 ERROR line 1836 renaming c:\fd\outbound\20060640.pk_ to
c:\fd\outbound\20060640.pkt
I think this is because the file 200606040.pkt already existed when the
.pk_ temp file was created and thus the rename will fail (can't rename over
an existing file) and then the packet is sent to the wrong link.
When generating a packet name, keep incrementing until both the .pkt and
.pk_ variants do not already exist. This should fix this scenario.
parent e33a4288
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment