diff options
author | Vasudev Kamath <kamathvasudev@gmail.com> | 2012-06-11 20:47:11 +0530 |
---|---|---|
committer | Vasudev Kamath <kamathvasudev@gmail.com> | 2012-06-11 20:47:11 +0530 |
commit | 11974b4d948ae5d9b9fb53970838463bd88bb9f6 (patch) | |
tree | 426724e218a2fcaf3a1a2eedf6ffa591299755ee /include/Scrape.php | |
parent | 079fdecff1f4daa534045f4bd857e6ae6324474d (diff) | |
parent | afa88154114d5632cb13e7c3f56143cccdfd7daa (diff) | |
download | volse-hubzilla-11974b4d948ae5d9b9fb53970838463bd88bb9f6.tar.gz volse-hubzilla-11974b4d948ae5d9b9fb53970838463bd88bb9f6.tar.bz2 volse-hubzilla-11974b4d948ae5d9b9fb53970838463bd88bb9f6.zip |
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'include/Scrape.php')
-rw-r--r-- | include/Scrape.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Scrape.php b/include/Scrape.php index 227252600..ca8f6e83a 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -435,10 +435,13 @@ function probe_url($url, $mode = PROBE_NORMAL) { $password = ''; openssl_private_decrypt(hex2bin($r[0]['pass']),$password,$x[0]['prvkey']); $mbox = email_connect($mailbox,$r[0]['user'],$password); + if(! $mbox) + logger('probe_url: email_connect failed.'); unset($password); } if($mbox) { $msgs = email_poll($mbox,$orig_url); + logger('probe_url: searching ' . $orig_url . ', ' . count($msgs) . ' messages found.', LOGGER_DEBUG); if(count($msgs)) { $addr = $orig_url; $network = NETWORK_MAIL; |