[gthumb] Fixed crash when uploading photos to facebook
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Fixed crash when uploading photos to facebook
- Date: Fri, 2 Sep 2011 13:36:01 +0000 (UTC)
commit 6c9b156b454cf27f6b20dd1a9bb313a3d70870cd
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Sep 2 11:06:29 2011 +0200
Fixed crash when uploading photos to facebook
Added a fake field name to make libsoup happy.
extensions/facebook/facebook-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/facebook/facebook-service.c b/extensions/facebook/facebook-service.c
index 7ac7eb8..fc35d6d 100644
--- a/extensions/facebook/facebook-service.c
+++ b/extensions/facebook/facebook-service.c
@@ -793,7 +793,7 @@ upload_photo_file_buffer_ready_cb (void **buffer,
uri = g_file_get_uri (file_data->file);
body = soup_buffer_new (SOUP_MEMORY_TEMPORARY, *buffer, count);
soup_multipart_append_form_file (multipart,
- NULL,
+ "filename",
_g_uri_get_basename (uri),
gth_file_data_get_mime_type (file_data),
body);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]