summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java/org
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-04 12:10:31 +0200
committerSimon Rettberg2015-09-04 12:10:31 +0200
commit033b6d110c818722e1e11ca9e3bd7372059cb662 (patch)
tree80cb4c94c4d1078c659cd1b301bfa245c76a48a0 /dozentenmodulserver/src/main/java/org
parent[server] Allow lecture with no image; start httprpc classes (diff)
downloadtutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.tar.gz
tutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.tar.xz
tutor-module-033b6d110c818722e1e11ca9e3bd7372059cb662.zip
[server] Fix NPE in smtp mailer
Diffstat (limited to 'dozentenmodulserver/src/main/java/org')
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/SmtpMailer.java2
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 {