susidns/hoststxtNS compatibility fixes

This commit is contained in:
zzz
2011-03-16 01:50:22 +00:00
parent 5095e8a1d6
commit bf613448d7
2 changed files with 12 additions and 8 deletions

View File

@ -335,7 +335,7 @@ public class SingleFileNamingService extends NamingService {
int split = line.indexOf('=');
if (split <= 0)
continue;
String key = line.substring(split);
String key = line.substring(0, split);
if (searchOpt != null && key.indexOf(searchOpt) < 0)
continue;
String b64 = line.substring(split+1); //.trim() ??????????????