summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-04 15:47:03 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-04 15:47:03 +0000
commitac3d3aa5192910e0697490aaf74166dcc16e00cd (patch)
tree7b3988aa8454c2696cb0cc7f7d213c924d7d09c8
parent388af20eb9c0c025a35ec53dbdac43381f98c44b (diff)
downloadbrdo-ac3d3aa5192910e0697490aaf74166dcc16e00cd.tar.gz
brdo-ac3d3aa5192910e0697490aaf74166dcc16e00cd.tar.bz2
- Patch #723802 by pwolanin, scor: fixed documentation.
-rw-r--r--includes/bootstrap.inc2
-rw-r--r--includes/password.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 3cc58e027..ae7a46204 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1715,7 +1715,7 @@ function drupal_random_bytes($count) {
if (!isset($random_state)) {
$random_state = print_r($_SERVER, TRUE);
if (function_exists('getmypid')) {
- // further initialize with the somewhat random PHP process ID.
+ // Further initialize with the somewhat random PHP process ID.
$random_state .= getmypid();
}
$bytes = '';
diff --git a/includes/password.inc b/includes/password.inc
index 553cae996..4940c50f9 100644
--- a/includes/password.inc
+++ b/includes/password.inc
@@ -148,7 +148,7 @@ function _password_crypt($algo, $password, $setting) {
return FALSE;
}
- // Convert the base 2 logrithm into an integer.
+ // Convert the base 2 logarithm into an integer.
$count = 1 << $count_log2;
// We rely on the hash() function being available in PHP 5.2+.