"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/osipparser2/osip_message.c" between
libosip2-5.0.0.tar.gz and libosip2-5.1.0.tar.gz

About: The GNU oSIP library is an implementation of SIP (RFC3261).

osip_message.c  (libosip2-5.0.0):osip_message.c  (libosip2-5.1.0)
skipping to change at line 208 skipping to change at line 208
return OSIP_NOMEM; return OSIP_NOMEM;
} }
if (sip->req_uri != NULL) { if (sip->req_uri != NULL) {
i = osip_uri_clone (sip->req_uri, &(copy->req_uri)); i = osip_uri_clone (sip->req_uri, &(copy->req_uri));
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
} }
#ifndef MINISIZE #ifndef MINISIZE
i = osip_list_clone(&sip->accepts, &copy->accepts, (int (*)(void *, void **)) &osip_accept_clone); i = osip_list_clone (&sip->accepts, &copy->accepts, (int (*)(void *, void **)) &osip_accept_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->accept_encodings, &copy->accept_encodings, (int (*)( void *, void **)) &osip_accept_encoding_clone); i = osip_list_clone (&sip->accept_encodings, &copy->accept_encodings, (int (*) (void *, void **)) &osip_accept_encoding_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->accept_languages, &copy->accept_languages, (int (*)( void *, void **)) &osip_accept_language_clone); i = osip_list_clone (&sip->accept_languages, &copy->accept_languages, (int (*) (void *, void **)) &osip_accept_language_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->alert_infos, &copy->alert_infos, (int (*)(void *, vo id **)) &osip_alert_info_clone); i = osip_list_clone (&sip->alert_infos, &copy->alert_infos, (int (*)(void *, v oid **)) &osip_alert_info_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->allows, &copy->allows, (int (*)(void *, void **)) &o sip_allow_clone); i = osip_list_clone (&sip->allows, &copy->allows, (int (*)(void *, void **)) & osip_allow_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->authentication_infos, &copy->authentication_infos, ( int (*)(void *, void **)) &osip_authentication_info_clone); i = osip_list_clone (&sip->authentication_infos, &copy->authentication_infos, (int (*)(void *, void **)) &osip_authentication_info_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->content_encodings, &copy->content_encodings, (int (* )(void *, void **)) &osip_content_encoding_clone); i = osip_list_clone (&sip->content_encodings, &copy->content_encodings, (int ( *)(void *, void **)) &osip_content_encoding_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->error_infos, &copy->error_infos, (int (*)(void *, vo id **)) &osip_error_info_clone); i = osip_list_clone (&sip->error_infos, &copy->error_infos, (int (*)(void *, v oid **)) &osip_error_info_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone(&sip->proxy_authentication_infos, &copy->proxy_authenticat ion_infos, (int (*)(void *, void **)) &osip_proxy_authentication_info_clone); i = osip_list_clone (&sip->proxy_authentication_infos, &copy->proxy_authentica tion_infos, (int (*)(void *, void **)) &osip_proxy_authentication_info_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
#endif #endif
i = osip_list_clone(&sip->call_infos, &copy->call_infos, (int (*)(void *, void **)) &osip_call_info_clone); i = osip_list_clone (&sip->call_infos, &copy->call_infos, (int (*)(void *, voi d **)) &osip_call_info_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
i = osip_list_clone (&sip->authorizations, &copy->authorizations, (int (*)(voi d *, void **)) &osip_authorization_clone); i = osip_list_clone (&sip->authorizations, &copy->authorizations, (int (*)(voi d *, void **)) &osip_authorization_clone);
if (i != 0) { if (i != 0) {
osip_message_free (copy); osip_message_free (copy);
return i; return i;
} }
if (sip->call_id != NULL) { if (sip->call_id != NULL) {
 End of changes. 10 change blocks. 
10 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)