aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-25 14:10:11 -0700
committerzotlabs <mike@macgirvin.com>2018-04-25 14:10:11 -0700
commit5a9e9284c260c8bb880987c0942a9fe040442a2b (patch)
tree0719d316549c0850320f4e96b51ca8b0ee579912
parent63e8f1f36b1b33f825b2c544b610e140291d0048 (diff)
downloadvolse-hubzilla-5a9e9284c260c8bb880987c0942a9fe040442a2b.tar.gz
volse-hubzilla-5a9e9284c260c8bb880987c0942a9fe040442a2b.tar.bz2
volse-hubzilla-5a9e9284c260c8bb880987c0942a9fe040442a2b.zip
generating random numbers too large for 32-bit systems
-rw-r--r--Zotlabs/Lib/Enotify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 05ea67ea5..cfb0bd344 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -747,8 +747,8 @@ class Enotify {
// generate a mime boundary
$mimeBoundary = rand(0, 9) . "-"
- .rand(10000000000, 9999999999) . "-"
- .rand(10000000000, 9999999999) . "=:"
+ .rand(100000000, 999999999) . "-"
+ .rand(100000000, 999999999) . "=:"
.rand(10000, 99999);
// generate a multipart/alternative message header