projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accidentally changed this makefile, roll it back
[IRC.git]
/
Robust
/
src
/
ClassLibrary
/
SocketInputStream.java
diff --git
a/Robust/src/ClassLibrary/SocketInputStream.java
b/Robust/src/ClassLibrary/SocketInputStream.java
index 807cab6df8408e8beb69a344ae84e48740c026e5..0d12a4cd38f7a6be9cf2956a7c7be9cf432eda55 100644
(file)
--- a/
Robust/src/ClassLibrary/SocketInputStream.java
+++ b/
Robust/src/ClassLibrary/SocketInputStream.java
@@
-25,9
+25,9
@@
public class SocketInputStream extends InputStream {
byte[] t=new byte[toread];
int rd=read(t);
if (rd<0)
- return rd;
+
return rd;
for(int i=0; i<rd; i++)
- b[i+offset]=t[i];
+
b[i+offset]=t[i];
offset+=rd;
toread-=rd;
}