mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fixed error with debug being deisplayed when debug flag not set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5162e486d3
commit
a65b0ddec9
1 changed files with 4 additions and 1 deletions
|
@ -1734,7 +1734,10 @@ handle_recv()
|
|||
}
|
||||
if (is_local_host(addr->sin_addr) == 1)
|
||||
{
|
||||
fprintf(stderr, "recvfrom packet from self discarded\n");
|
||||
if (debug)
|
||||
{
|
||||
fprintf(stderr, "recvfrom packet from self discarded\n");
|
||||
}
|
||||
return;
|
||||
}
|
||||
handle_request(udp_desc);
|
||||
|
|
Loading…
Reference in a new issue