Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > f4b62a6af6a162bd37ada75a4f0984a3 > files > 5

freeswitch-1.4.15-3.mga5.src.rpm

--- freeswitch-1.2.12//src/mod/endpoints/mod_skypopen/skypopen_protocol.c	2013-07-24 14:41:47.000000000 -0400
+++ freeswitch-1.2.12//src/mod/endpoints/mod_skypopen/skypopen_protocol.c.dlucio	2013-08-17 13:09:02.674997566 -0400
@@ -522,7 +522,7 @@ int skypopen_signaling_read(private_t *t
 								 tech_pvt->chatmessages[i].from_handle, tech_pvt->chatmessages[i].from_dispname, tech_pvt->chatmessages[i].body);
 							if (strcmp(tech_pvt->chatmessages[i].from_handle, tech_pvt->skype_user)) {	//if the message was not sent by myself
 								incoming_chatmessage(tech_pvt, i);
-								memset(&tech_pvt->chatmessages[i], '\0', sizeof(&tech_pvt->chatmessages[i]));
+								memset(&tech_pvt->chatmessages[i], '\0', sizeof(tech_pvt->chatmessages[i]));
 
 								sprintf(msg_to_skype, "SET CHATMESSAGE %s SEEN", id);
 								skypopen_signaling_write(tech_pvt, msg_to_skype);
@@ -531,7 +531,7 @@ int skypopen_signaling_read(private_t *t
 									("CHATMESSAGE %s is in position %d in the chatmessages array, type=%s, id=%s, chatname=%s, from_handle=%s, from_dispname=%s, body=%s NOT DELETED\n",
 									 SKYPOPEN_P_LOG, id, i, tech_pvt->chatmessages[i].type, tech_pvt->chatmessages[i].id, tech_pvt->chatmessages[i].chatname,
 									 tech_pvt->chatmessages[i].from_handle, tech_pvt->chatmessages[i].from_dispname, tech_pvt->chatmessages[i].body);
-								memset(&tech_pvt->chatmessages[i], '\0', sizeof(&tech_pvt->chatmessages[i]));
+								memset(&tech_pvt->chatmessages[i], '\0', sizeof(tech_pvt->chatmessages[i]));
 								DEBUGA_SKYPE("chatmessage %s HAS BEEN DELETED\n", SKYPOPEN_P_LOG, id);
 							}