Tweaks to various debug messages.
This commit is contained in:
parent
19e73019fe
commit
1df896d6d1
3 changed files with 3 additions and 3 deletions
|
@ -732,7 +732,7 @@ std::string & JSON::Value::toNetPacked(){
|
|||
static std::string emptystring;
|
||||
//check if this is legal
|
||||
if (myType != OBJECT){
|
||||
DEBUG_MSG(DLVL_ERROR, "Only objects may be netpacked!");
|
||||
INFO_MSG("Ignored attempt to netpack a non-object.");
|
||||
return emptystring;
|
||||
}
|
||||
//if sneaky storage doesn't contain correct data, re-calculate it
|
||||
|
|
|
@ -541,7 +541,7 @@ unsigned int Socket::Connection::iwrite(const void * buffer, int len){
|
|||
return 0;
|
||||
break;
|
||||
default:
|
||||
if (errno != EPIPE){
|
||||
if (errno != EPIPE && errno != ECONNRESET){
|
||||
Error = true;
|
||||
remotehost = strerror(errno);
|
||||
DEBUG_MSG(DLVL_WARN, "Could not iwrite data! Error: %s", remotehost.c_str());
|
||||
|
|
|
@ -101,7 +101,7 @@ bool Util::Stream::getVod(std::string filename, std::string streamname){
|
|||
name.str("MistInFLV " + filename);
|
||||
player_bin = Util::getMyPath() + "MistInFLV";
|
||||
}
|
||||
DEBUG_MSG(DLVL_WARN, "Starting %s -p -s %s %s", player_bin.c_str(), streamname.c_str(), filename.c_str());
|
||||
INFO_MSG("Starting %s -p -s %s %s", player_bin.c_str(), streamname.c_str(), filename.c_str());
|
||||
char* const argv[] = {(char*)player_bin.c_str(), (char*)"-p", (char*)"-s", (char*)streamname.c_str(), (char*)filename.c_str(), (char*)0};
|
||||
|
||||
int pid = fork();
|
||||
|
|
Loading…
Add table
Reference in a new issue