Mercurial > pidgin
comparison src/protocols/sametime/sametime.c @ 11183:8dca96cbcd64
[gaim-migrate @ 13295]
I changed the cipher API to use guchar instead of guint8
This seems to be what gtk/glib uses for random bits of data
I don't know what got into me
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 03 Aug 2005 02:57:00 +0000 |
parents | 1081735edc10 |
children | 90be432e8385 |
comparison
equal
deleted
inserted
replaced
11182:5389d7d497ce | 11183:8dca96cbcd64 |
---|---|
2326 ; /* feh */ | 2326 ; /* feh */ |
2327 | 2327 |
2328 } else if(g_str_has_prefix(type, "image")) { | 2328 } else if(g_str_has_prefix(type, "image")) { |
2329 /* put images into the image store */ | 2329 /* put images into the image store */ |
2330 | 2330 |
2331 guint8 *d_dat; | 2331 guchar *d_dat; |
2332 gsize d_len; | 2332 gsize d_len; |
2333 char *cid; | 2333 char *cid; |
2334 int img; | 2334 int img; |
2335 | 2335 |
2336 /* obtain and unencode the data */ | 2336 /* obtain and unencode the data */ |
2351 images = g_list_append(images, GINT_TO_POINTER(img)); | 2351 images = g_list_append(images, GINT_TO_POINTER(img)); |
2352 | 2352 |
2353 } else if(g_str_has_prefix(type, "text")) { | 2353 } else if(g_str_has_prefix(type, "text")) { |
2354 | 2354 |
2355 /* concatenate all the text parts together */ | 2355 /* concatenate all the text parts together */ |
2356 guint8 *data; | 2356 guchar *data; |
2357 char *txt; | 2357 char *txt; |
2358 gsize len; | 2358 gsize len; |
2359 | 2359 |
2360 gaim_mime_part_get_data_decoded(part, &data, &len); | 2360 gaim_mime_part_get_data_decoded(part, &data, &len); |
2361 | 2361 |