| 150 image_data = purple_imgstore_get_data(image); |
150 image_data = purple_imgstore_get_data(image); |
| 151 image_filename = purple_imgstore_get_filename(image); |
151 image_filename = purple_imgstore_get_filename(image); |
| 152 image_crc = gg_crc32(0, image_data, image_size); |
152 image_crc = gg_crc32(0, image_data, image_size); |
| 153 |
153 |
| 154 purple_debug_info("gg", "ggp_image_prepare_to_send: image prepared " |
154 purple_debug_info("gg", "ggp_image_prepare_to_send: image prepared " |
| 155 "[id=%d, crc=%u, size=%zu, filename=%s]\n", |
155 "[id=%d, crc=%u, size=%" G_GSIZE_FORMAT ", filename=%s]\n", |
| 156 id, image_crc, image_size, image_filename); |
156 id, image_crc, image_size, image_filename); |
| 157 |
157 |
| 158 pending_image = g_new(ggp_image_pending_image, 1); |
158 pending_image = g_new(ggp_image_pending_image, 1); |
| 159 pending_image->id = id; |
159 pending_image->id = id; |
| 160 pending_image->conv_name = g_strdup(conv_name); |
160 pending_image->conv_name = g_strdup(conv_name); |