Commit 62498a4f authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Fix error from marshaller detected on Windows.

parent 618cb461
......@@ -551,7 +551,7 @@ char* belle_sip_object_to_string(void* _obj) {
size_t offset=0;
belle_sip_error_code error = belle_sip_object_marshal(obj,buff,sizeof(buff),&offset);
belle_sip_error_code error = belle_sip_object_marshal(obj,buff,sizeof(buff)-1,&offset);
belle_sip_message("belle_sip_object_to_string(): temporary buffer is too short while doing to_string() for %s, retrying", obj->vptr->type_name);
return belle_sip_object_to_alloc_string(obj,get_hint_size(2*offset));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment