eventscript: put call type into state struct.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:49:58 +0000 (11:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:49:58 +0000 (11:19 +1030)
commit6c79fa33e26cc4f0873577f8e122b1495b4c427e
tree4fa84ba1bda249c21ea2a8c1f651fe945ac3a2e4
parent8001488be4f2beb25e943fe01b2afc2e8779930d
eventscript: put call type into state struct.

This means we can get rid of more strcmp; they can simply use the
state->call value instead.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c