summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 6afe24b9f..a34c040d6 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.151 2008/02/22 20:44:02 dtucker Exp $ */ 1/* $OpenBSD: packet.c,v 1.152 2008/05/08 06:59:01 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1332,6 +1332,12 @@ packet_get_string(u_int *length_ptr)
1332 return buffer_get_string(&incoming_packet, length_ptr); 1332 return buffer_get_string(&incoming_packet, length_ptr);
1333} 1333}
1334 1334
1335void *
1336packet_get_string_ptr(u_int *length_ptr)
1337{
1338 return buffer_get_string_ptr(&incoming_packet, length_ptr);
1339}
1340
1335/* 1341/*
1336 * Sends a diagnostic message from the server to the client. This message 1342 * Sends a diagnostic message from the server to the client. This message
1337 * can be sent at any time (but not while constructing another message). The 1343 * can be sent at any time (but not while constructing another message). The