Cleaning up warnings

This commit is contained in:
Adam Frisby
2007-05-16 21:19:07 +00:00
parent 1601e4038c
commit 2c0edcc199
4 changed files with 22 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ namespace OpenGrid.Framework.Manager {
Hashtable requestData = (Hashtable)request.Params[0];
Hashtable responseData = new Hashtable();
if(requestData["authkey"]!=recvkey) {
if((string)requestData["authkey"] != recvkey) {
responseData["error"]="INVALID KEY";
} else {
responseData["msg"]="Shutdown command accepted";