]> andersk Git - openssh.git/blobdiff - serverloop.c
- millert@cvs.openbsd.org 2001/03/04 17:42:28
[openssh.git] / serverloop.c
index 651d3feb5b29ee0e1c7c8630efb12e2571b52f61..8b1ee99190cb82a12fa8164454f18facc62ed181 100644 (file)
@@ -11,7 +11,7 @@
  * called by a name other than "ssh" or "Secure Shell".
  *
  * SSH2 support by Markus Friedl.
- * Copyright (c) 2000 Markus Friedl. All rights reserved.
+ * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -35,7 +35,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.51 2001/02/23 15:34:53 markus Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.54 2001/03/04 01:46:30 djm Exp $");
 
 #include "xmalloc.h"
 #include "packet.h"
@@ -345,9 +345,7 @@ process_output(fd_set * writeset)
                                 * Simulate echo to reduce the impact of
                                 * traffic analysis
                                 */
-                               packet_start(SSH_MSG_IGNORE);
-                               memset(buffer_ptr(&stdin_buffer), 0, len);
-                               packet_put_string(buffer_ptr(&stdin_buffer), len);
+                               packet_send_ignore(len);
                                packet_send();
                        }
                        /* Consume the data from the buffer. */
This page took 0.05127 seconds and 4 git commands to generate.