~ubuntu-branches/ubuntu/saucy/trousers/saucy-proposed

« back to all changes in this revision

Viewing changes to src/tcs/rpc/tcstp/rpc_tick.c

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-11-10 17:04:44 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121110170444-yvoa372npyp02mwr
Tags: 0.3.10-1
* Imported Upstream version 0.3.10
* Update symbols file
* Force build of tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
81
81
                return TCSERR(TSS_E_INTERNAL_ERROR);
82
82
 
 
83
        if ((result = ctx_verify_context(hContext)))
 
84
                goto done;
 
85
 
83
86
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
84
87
 
85
88
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm))
131
134
                        return TCSERR(TSS_E_INTERNAL_ERROR);
132
135
                }
133
136
        } else
134
 
                initData(&data->comm, 0);
 
137
done:           initData(&data->comm, 0);
135
138
 
136
139
        data->comm.hdr.u.result = result;
137
140
        return TSS_SUCCESS;