[Pkg-javascript-commits] [ltx] 99/469: sasl generateNonce(): fix
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 13:01:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ltx.
commit b83c69766a9aa9411443549695c08a977ea52994
Author: Astro <astro at spaceboyz.net>
Date: Mon Sep 6 23:49:18 2010 +0200
sasl generateNonce(): fix
---
lib/xmpp/sasl.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/xmpp/sasl.js b/lib/xmpp/sasl.js
index 290b541..ab9857a 100644
--- a/lib/xmpp/sasl.js
+++ b/lib/xmpp/sasl.js
@@ -138,6 +138,6 @@ function generateNonce() {
var result = "";
for(var i = 0; i < 8; i++)
result += String.fromCharCode(48 +
- Math.round(Math.random() * 10));
+ Math.ceil(Math.random() * 10));
return result;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git
More information about the Pkg-javascript-commits
mailing list