summaryrefslogtreecommitdiff
path: root/games/spacehulk/files/patch-src::smtp.cpp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
commit2c4631b76344d6e3b336f0a7a36c1d8ea930bca7 (patch)
tree87178ec0874df28a43c5701641c768575c56d9ed /games/spacehulk/files/patch-src::smtp.cpp
parentDon't list Data.fs, as it's precious and should not be overwritten when (diff)
- Update to version 1.4.5
Notes
Notes: svn path=/head/; revision=87920
Diffstat (limited to '')
-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--;