fix compile

This commit is contained in:
ouwou 2022-07-03 18:58:48 -04:00
parent e87766f106
commit a9d35dcccd

View File

@ -369,7 +369,7 @@ void ChatInput::AddAttachment(const Glib::RefPtr<Gio::File> &file) {
const auto info = file->query_info(G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE);
content_type = info->get_attribute_string(G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE);
} catch (const Gio::Error &err) {
printf("io error: %s\n", err.what());
printf("io error: %s\n", err.what().c_str());
return;
} catch (...) {
puts("attachment query exception");