Change-Id: I666b0f932e736cd51c8ef6d42bcd602822445392
Signed-off-by: Mauro Sardara <[email protected]>
void HTTPServerPublisher::publishContent(const uint8_t *buf, size_t buffer_size, const int response_id, bool is_last) {
if (producer_) {
#ifdef __ANDROID__
- __android_log_print(ANDROID_LOG_DEBUG, "HTTP_SERVER_PUBLISHER", "Replying to %s", const_cast<core::Name &>(content_name_).toString().c_str());
+ __android_log_print(ANDROID_LOG_DEBUG, "HTTP_SERVER_PUBLISHER", "Replying to %s", const_cast<transport::Name &>(content_name_).toString().c_str());
#else
std::cout << "Replying to " << content_name_ << std::endl;
#endif
#include <vector>
#include <functional>
+#ifdef __ANDROID__
+#include <android/log.h>
+#endif
+
#define HTTP_VERSION "1.0"
namespace icnet {
} // end namespace http
-} // end namespace icnet
\ No newline at end of file
+} // end namespace icnet