projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changes
[IRC.git]
/
Robust
/
src
/
ClassLibrary
/
SocketInputStream.java
diff --git
a/Robust/src/ClassLibrary/SocketInputStream.java
b/Robust/src/ClassLibrary/SocketInputStream.java
index f722272611507c723940d1a2efc76673611b6cb8..97afc287737ac694adddbd63afff52b5f52716d9 100644
(file)
--- a/
Robust/src/ClassLibrary/SocketInputStream.java
+++ b/
Robust/src/ClassLibrary/SocketInputStream.java
@@
-22,7
+22,7
@@
public class SocketInputStream extends InputStream {
return offset;
int toread=b.length-offset;
while(toread>0) {
- byte t=new byte[toread];
+ byte
[]
t=new byte[toread];
int rd=read(t);
if (rd<0)
return rd;