From fd4bc5e3cf062095af02cde0cf042338ca552678 Mon Sep 17 00:00:00 2001 From: jrandom Date: Tue, 11 May 2004 02:43:52 +0000 Subject: [PATCH] keystream fixes --- apps/sam/java/src/net/i2p/sam/SAMv1Handler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sam/java/src/net/i2p/sam/SAMv1Handler.java b/apps/sam/java/src/net/i2p/sam/SAMv1Handler.java index cd824996d..b0481d6a8 100644 --- a/apps/sam/java/src/net/i2p/sam/SAMv1Handler.java +++ b/apps/sam/java/src/net/i2p/sam/SAMv1Handler.java @@ -234,9 +234,9 @@ public class SAMv1Handler extends SAMHandler implements SAMRawReceiver, SAMDatag props.remove("STYLE"); if (style.equals("RAW")) { - rawSession = new SAMRawSession(dest, props, this); + rawSession = new SAMRawSession(destKeystream, props, this); } else if (style.equals("DATAGRAM")) { - datagramSession = new SAMDatagramSession(dest, props,this); + datagramSession = new SAMDatagramSession(destKeystream, props,this); } else if (style.equals("STREAM")) { String dir = props.getProperty("DIRECTION"); if (dir == null) {