pumpio: corrected some typos

pull/153/head
Michael Vogel 2013-09-29 12:12:17 +02:00
parent e917f3d26b
commit b8213b207a
1 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ function pumpio_registerclient(&$a, $host) {
$params["logo_url"] = $a->get_baseurl()."/images/friendica-256.png"; $params["logo_url"] = $a->get_baseurl()."/images/friendica-256.png";
$params["redirect_uris"] = $a->get_baseurl()."/pumpio/connect"; $params["redirect_uris"] = $a->get_baseurl()."/pumpio/connect";
logger("pumpio_registerclient: ".$url." parameters ".$print_r($params, true), LOGGER_DEBUG); logger("pumpio_registerclient: ".$url." parameters ".print_r($params, true), LOGGER_DEBUG);
$ch = curl_init($url); $ch = curl_init($url);
curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_HEADER, false);
@ -91,10 +91,10 @@ function pumpio_registerclient(&$a, $host) {
if ($curl_info["http_code"] == "200") { if ($curl_info["http_code"] == "200") {
$values = json_decode($s); $values = json_decode($s);
logger("pumpio_registerclient: success ".$print_r($values, true), LOGGER_DEBUG); logger("pumpio_registerclient: success ".print_r($values, true), LOGGER_DEBUG);
return($values); return($values);
} }
logger("pumpio_registerclient: failed: ".$print_r($curl_info, true), LOGGER_DEBUG); logger("pumpio_registerclient: failed: ".print_r($curl_info, true), LOGGER_DEBUG);
return(false); return(false);
} }