summaryrefslogtreecommitdiff
path: root/games/spacehulk/files/patch-src::smtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/spacehulk/files/patch-src::smtp.cpp')
-rw-r--r--games/spacehulk/files/patch-src::smtp.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/spacehulk/files/patch-src::smtp.cpp b/games/spacehulk/files/patch-src::smtp.cpp
new file mode 100644
index 000000000000..25f64d23b0db
--- /dev/null
+++ b/games/spacehulk/files/patch-src::smtp.cpp
@@ -0,0 +1,20 @@
+--- src/smtp.cpp.orig Thu Aug 21 12:03:45 2003
++++ src/smtp.cpp Thu Aug 28 20:44:12 2003
+@@ -15,6 +15,7 @@
+ #include <qtimer.h>
+ #include <qapplication.h>
+ #include <qmessagebox.h>
++#include <ctype.h>
+
+ #include <iostream>
+ using namespace std;
+@@ -337,9 +338,6 @@
+ char *outp = out;
+ char buf[4];
+
+- if (inlen < 0)
+- inlen = INT_MAX;
+-
+ while (inlen >= 4 && *inp != '\0') {
+ buf[0] = *inp++;
+ inlen--;