Implement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend-
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 15 Jan 2003 20:47:50 +0000 (20:47 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 15 Jan 2003 20:47:50 +0000 (20:47 +0000)
commitffa79828fe69957be5910db025e26a10be94954d
treef8087a1a0ead8105cd461e2e76101d1911e2ad2e
parentfaf5762875a834c660fb6a8d89c23cb7bb3f6082
Implement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend-
link-module const variable `be_default_protocol' which suggests a sensible
default to the front end (which can ignore it). (DEFAULT_PORT is replaced by a
lookup in the backend[] table.)
Still not pretty, but it does mean that the recent fix for `ssh-default'
doesn't break PuTTYtel.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2613 cda61777-01e9-0310-a592-d414129be87e
be_all.c
be_nossh.c
mac/mac.c
putty.h
window.c