git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the daemon pid file when exit is due to SIGTERM. Bug 340
[users/jgh/exim.git]
/
test
/
aux-fixed
/
0601.udpserver
diff --git
a/test/aux-fixed/0601.udpserver
b/test/aux-fixed/0601.udpserver
index 5513402b06101721cee964118e2c91b5fc1574c9..2638ef55f6c1287d2249430c9fe80b9676d4a1a8 100644
(file)
--- a/
test/aux-fixed/0601.udpserver
+++ b/
test/aux-fixed/0601.udpserver
@@
-18,5
+18,6
@@
$select = IO::Select->new($socket) or die "IO::Select $!";
if (scalar ($select->can_read(5)) == 1) {
$socket->recv($recieved_data,1024);
if (scalar ($select->can_read(5)) == 1) {
$socket->recv($recieved_data,1024);
+ select(undef, undef, undef, 0.5);
print "received: $recieved_data\n";
}
print "received: $recieved_data\n";
}