Changeset 421c8ef7 for perlconfig.c
- Timestamp:
- Oct 29, 2006, 5:01:52 AM (18 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 3c9012b
- Parents:
- 4692b70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perlconfig.c
rdb8b00b r421c8ef7 32 32 char *ptr, *blessas; 33 33 int i, j; 34 owl_pair *pair; 34 35 35 36 if (!m) return &PL_sv_undef; … … 57 58 } 58 59 60 j=owl_list_get_size(&(m->attributes)); 61 for(i=0; i<j; i++) { 62 pair=owl_list_get_element(&(m->attributes), i); 63 hv_store(h, owl_pair_get_key(pair), strlen(owl_pair_get_key(pair)), 64 newSVpv(owl_pair_get_value(pair),0),0); 65 } 66 59 67 MSG2H(h, type); 60 68 MSG2H(h, direction); … … 80 88 if (owl_message_is_type_zephyr(m)) blessas = "owl::Message::Zephyr"; 81 89 else if (owl_message_is_type_aim(m)) blessas = "owl::Message::AIM"; 90 else if (owl_message_is_type_jabber(m)) blessas = "owl::Message::Jabber"; 82 91 else if (owl_message_is_type_admin(m)) blessas = "owl::Message::Admin"; 83 92 else if (owl_message_is_type_generic(m)) blessas = "owl::Message::Generic";
Note: See TracChangeset
for help on using the changeset viewer.