(trunk daemon) #4594 "corrupted status string" -- fixed.

This commit is contained in:
Jordan Lee 2011-10-25 20:48:39 +00:00
parent 82595e8ad8
commit 8a90847072
1 changed files with 4 additions and 0 deletions

View File

@ -817,6 +817,10 @@ getStatusString( tr_benc * t, char * buf, size_t buflen )
}
break;
}
default:
tr_strlcpy( buf, "Unknown", buflen );
break;
}
return buf;