...
authorVolker Birk <vb@pep-project.org>
Thu, 19 May 2016 11:52:41 +0200
changeset 6664bac9007324a
parent 665 51b2e250297a
child 667 a3615d44326a
...
sync/gen_actions_skeleton.ysl2
     1.1 --- a/sync/gen_actions_skeleton.ysl2	Thu May 19 11:48:12 2016 +0200
     1.2 +++ b/sync/gen_actions_skeleton.ysl2	Thu May 19 11:52:41 2016 +0200
     1.3 @@ -56,6 +56,7 @@
     1.4  
     1.5      function "paramcheck" {
     1.6          param "partner";
     1.7 +        |> assert(session);
     1.8          choose {
     1.9              when "$partner"
    1.10              ||
    1.11 @@ -91,7 +92,6 @@
    1.12          {
    1.13              PEP_STATUS status = PEP_STATUS_OK;
    1.14  
    1.15 -            assert(session);
    1.16              `` call "paramcheck" with "partner", "parm/partner";
    1.17  
    1.18              // working code
    1.19 @@ -129,7 +129,6 @@
    1.20          {
    1.21              PEP_STATUS status = PEP_STATUS_OK;
    1.22  
    1.23 -            assert(session);
    1.24              `` call "paramcheck" with "partner", "parm/partner";
    1.25  
    1.26              «$name»_t *msg = («$name»_t *) calloc(1, sizeof(«$name»_t));