Fix build

This commit is contained in:
Kalle Sommer Nielsen 2009-06-04 08:18:32 +00:00
parent 193f67d8b3
commit de20dd7ac8

View File

@ -589,10 +589,9 @@ try_again:
smart_str_append_const(&soap_headers, "\", opaque=\"");
smart_str_appends(&soap_headers, client->digest_opaque);
}
if (zend_hash_find(Z_ARRVAL_PP(digest), "algorithm", sizeof("algorithm"), (void **)&tmp) == SUCCESS &&
Z_TYPE_PP(tmp) == IS_STRING) {
if (client->digest_algorithm) {
smart_str_append_const(&soap_headers, "\", algorithm=\"");
smart_str_appendl(&soap_headers, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
smart_str_appends(&soap_headers, client->digest_algorithm);
}
smart_str_append_const(&soap_headers, "\"\r\n");
}