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)
commit834c93b3e1b8f4151b8a2cd82c2dd8bacc17f66c
treea38577b1d3bb0a04790f65f1f53e2e17436e27cd
parent470822b329f9d3ca9bef518b56e9ce28d5fedda2
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