Skip to content
Browse files

an array of 8 elements should be returned by CF_Http::head_cdn_contai…

…ner(), expected at least by cloudfiles.php line 1588, CF_Container::_cdn_initialize()
  • Loading branch information...
1 parent b5e5481 commit 78c5d612fb5a7037e92f61acfaf10b59e09239e8 Zachary Crockett committed Apr 9, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 cloudfiles_http.php
View
9 cloudfiles_http.php
@@ -392,13 +392,13 @@ function head_cdn_container($container_name)
if (!$return_code) {
$this->error_str .= ": Failed to obtain valid HTTP response.";
- return array(0,$this->error_str,NULL,NULL,NULL,NULL,NULL,NULL);
+ return array(0,$this->error_str,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
}
if ($return_code == 401) {
- return array($return_code,"Unauthorized",NULL,NULL,NULL,NULL,NULL,NULL);
+ return array($return_code,"Unauthorized",NULL,NULL,NULL,NULL,NULL,NULL,NULL);
}
if ($return_code == 404) {
- return array($return_code,"Account not found.",NULL,NULL,NULL,NULL,NULL,NULL);
+ return array($return_code,"Account not found.",NULL,NULL,NULL,NULL,NULL,NULL,NULL);
}
if ($return_code == 204) {
return array($return_code,$this->response_reason,
@@ -413,7 +413,8 @@ function head_cdn_container($container_name)
NULL,NULL,NULL,
$this->_cdn_log_retention,
$this->_cdn_acl_user_agent,
- $this->_cdn_acl_referrer
+ $this->_cdn_acl_referrer,
+ NULL
);
}

0 comments on commit 78c5d61

Please sign in to comment.
Something went wrong with that request. Please try again.