When doing a ReadSecret return "BINARY - cannot modify" for binary keys. This prevents the c code from failing when parsing the keys and values.

This commit is contained in:
Jim Norman 2007-02-28 21:32:10 +00:00
parent 1aa7eac4f9
commit 6a7f038ef4

View File

@ -169,9 +169,9 @@ namespace sscs.cache
sb.Append(kv.Key);
sb.Append("=");
//if (kv.GetValueType() ==(KeyValue.VALUE_TYPE_BINARY))
// sb.Append("BINARY - Do not change");
//else
if (kv.GetValueType() ==(KeyValue.VALUE_TYPE_BINARY))
sb.Append("BINARY - Cannot modify");
else
sb.Append(kv.GetValue());
sb.Append('\n');
}