Skip to content

Commit

Permalink
刚才的话还是发不出去。。
Browse files Browse the repository at this point in the history
  • Loading branch information
herbix committed May 24, 2014
1 parent f995a09 commit f9f577a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified build/SSASTLauncher.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion src/org/ssast/minecraft/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,14 @@ private static void exceptionReport(String str) {
conn.addRequestProperty("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
conn.addRequestProperty("Content-Length", String.valueOf(toSend.length));
conn.setDoOutput(true);
conn.setDoInput(false);
conn.connect();

OutputStream os = conn.getOutputStream();
os.write(toSend);
os.flush();
os.close();

conn.getResponseCode();

} catch (Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit f9f577a

Please sign in to comment.