view libtomcrypt/mess.sh @ 495:cd02449b709c

Don't send anything in response to a SSH_MSG_CHANNEL_REQUEST if we have already sent a SSH_MSG_CHANNEL_CLOSE. This fixes a bug triggered by more recent versions of putty with tcp fowarding and window adjustment request messages.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Sep 2008 12:03:01 +0000
parents 0cbe8f6dbf9e
children
line wrap: on
line source

#!/bin/bash
if cvs log $1 >/dev/null 2>/dev/null; then exit 0; else echo "$1 shouldn't be here, removed"; rm -f $1 ; fi