Commit 93e0cfef authored by captainwong's avatar captainwong

fix 2

parent 38421f71
...@@ -24,7 +24,7 @@ public class SimpleServer { ...@@ -24,7 +24,7 @@ public class SimpleServer {
String HEX_STRING = "0123456789ABCDEF"; String HEX_STRING = "0123456789ABCDEF";
String s = ""; String s = "";
for(int i = 0; i < b.length; i++){ for(int i = 0; i < b.length; i++){
byte c = b[i]; char c = b.charAt(i);
if(32 <= c && c <= 127){ if(32 <= c && c <= 127){
s += (char)c; s += (char)c;
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment