Skip to content

Commit f094f44

Browse files
committed
fixed hostname init
1 parent 5b7bcb8 commit f094f44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/objects/communications/OscSender.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,11 @@ string OscSender::getHostFromConfig(){
390390
if(found != string::npos){
391391
return temp.substr(found+1);
392392
}else{
393-
return temp;
393+
if(temp == "none"){
394+
return "localhost";
395+
}else{
396+
return temp;
397+
}
394398
}
395399
}
396400
XML.popTag();

0 commit comments

Comments
 (0)