include NAME=val in failed lookup replies (per spec - thanks nightblade)

fixes http://dev.i2p.net/bugzilla/show_bug.cgi?id=79
This commit is contained in:
jrandom
2004-06-13 20:19:16 +00:00
committed by zzz
parent ba6a2e3fd2
commit 0a479be370

View File

@ -330,7 +330,7 @@ public class SAMv1Handler extends SAMHandler implements SAMRawReceiver, SAMDatag
} }
if (dest == null) { if (dest == null) {
return writeString("NAMING REPLY RESULT=KEY_NOT_FOUND\n"); return writeString("NAMING REPLY RESULT=KEY_NOT_FOUND NAME=" + name + "\n");
} }
return writeString("NAMING REPLY RESULT=OK NAME=" + name return writeString("NAMING REPLY RESULT=OK NAME=" + name