diff --git a/src/server/session.c b/src/server/session.c
index aab19da8023f52071d318394682790128c50081b..7529e7fbbbab9b3ff1a5d3d7da27962b008919fe 100644
--- a/src/server/session.c
+++ b/src/server/session.c
@@ -1,5 +1,5 @@
 /*
- * $Id: session.c,v 0.11 1992/04/14 15:28:10 ceder Exp $
+ * $Id: session.c,v 0.12 1992/04/14 17:18:33 ceder Exp $
  * Copyright (C) 1991  Lysator Academic Computer Association.
  *
  * This file is part of the LysKOM server.
@@ -28,7 +28,7 @@
  * Session control and miscellaneous.
  */
 
-static char *rcsid = "$Id: session.c,v 0.11 1992/04/14 15:28:10 ceder Exp $";
+static char *rcsid = "$Id: session.c,v 0.12 1992/04/14 17:18:33 ceder Exp $";
 
 
 #include <time.h>
@@ -57,13 +57,13 @@ static void
 create_oldstyle_username(String *result,
 			 Connection *connection)
 {
-    if ( s_strcpy(result, cptr->username) != OK )
+    if ( s_strcpy(result, connection->username) != OK )
 	restart_kom("create_oldstyle_username(): strcpy\n");
 
     if ( s_strcat(result, s_fcrea_str((const unsigned char *)"@")) != OK )
 	restart_kom("create_oldstyle_username: s_strcat\n");
 
-    if ( s_strcat(result, cptr->hostname) != OK )
+    if ( s_strcat(result, connection->hostname) != OK )
 	restart_kom("prot_a_parse_packet: s_strcat II\n");
 }