mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
Socket.java (getPort): Return 0 in error case.
2004-11-17 Michael Koch <konqueror@gmx.de> * java/net/Socket.java (getPort): Return 0 in error case. From-SVN: r90805
This commit is contained in:
committed by
Michael Koch
parent
4dbbd945e0
commit
ff6e1bc0aa
@@ -538,7 +538,7 @@ public class Socket
|
||||
// This cannot happen as we are connected.
|
||||
}
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user