fix linux compilation issue

This commit is contained in:
Jehan Monnier 2013-02-12 18:09:36 +01:00 committed by diagne
parent 63fa87209c
commit 4fe21b2fe7
2 changed files with 2 additions and 3 deletions

View file

@ -38,9 +38,8 @@ void _belle_sip_log(belle_sip_log_level lev, const char *fmt, va_list args) {
ortp_level=ORTP_MESSAGE;
break;
case BELLE_SIP_LOG_DEBUG:
ortp_level=ORTP_DEBUG;
break;
default:
ortp_level=ORTP_DEBUG;
break;
}
if (ortp_log_level_enabled(ortp_level)){

View file

@ -29,7 +29,7 @@ belle_sdp_session_description_t * media_description_to_sdp(const SalMediaDescrip
MSList* pt_it;
PayloadType* pt;
char buffer[1024];
char* dir;
char* dir=NULL;
if (strchr(desc->addr,':')!=NULL){
inet6=1;