diff options
author | Simon Rettberg | 2015-09-04 12:10:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-04 12:10:31 +0200 |
commit | 033b6d110c818722e1e11ca9e3bd7372059cb662 (patch) | |
tree | 80cb4c94c4d1078c659cd1b301bfa245c76a48a0 /dozentenmodulserver | |
parent | [server] Allow lecture with no image; start httprpc classes (diff) | |
download | tutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.tar.gz tutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.tar.xz tutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.zip |
[server] Fix NPE in smtp mailer
Diffstat (limited to 'dozentenmodulserver')
-rw-r--r-- | dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java index 3166a5c6..e225e0a8 100644 --- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java +++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java @@ -55,7 +55,7 @@ public class SmtpMailer { client.addProtocolCommandListener(new PrintCommandListener(logStream)); } client.setConnectTimeout(5000); - client.setSoTimeout(10000); + client.setDefaultTimeout(10000); IOException conEx = null; for (InetAddress ip : ips) { try { |