summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-08 09:39:49 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-08 11:53:06 +0200
commita3d44d5504e1aa2b9e2e5564f644512bf36c01ee (patch)
treee4be79fc807e135e3b9882e0c2d5a3caf5db9d86 /source4/lib
parentcce2f9dde4ae9fb9eec3b8cc7cdaf24534f33142 (diff)
downloadsamba-a3d44d5504e1aa2b9e2e5564f644512bf36c01ee.tar.gz
samba-a3d44d5504e1aa2b9e2e5564f644512bf36c01ee.tar.bz2
samba-a3d44d5504e1aa2b9e2e5564f644512bf36c01ee.zip
s4:lib/tls: make more clear what the immediate event is for
metze
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tls/tls_tstream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/tls/tls_tstream.c b/source4/lib/tls/tls_tstream.c
index 52e94b0453..f7d27ebbf4 100644
--- a/source4/lib/tls/tls_tstream.c
+++ b/source4/lib/tls/tls_tstream.c
@@ -47,7 +47,7 @@ struct tstream_tls {
struct tevent_context *current_ev;
- struct tevent_immediate *im;
+ struct tevent_immediate *retry_im;
struct {
uint8_t buffer[1024];
@@ -104,7 +104,7 @@ static void tstream_tls_retry(struct tstream_context *stream, bool deferred)
}
if (tlss->write.req && tlss->read.req && !deferred) {
- tevent_schedule_immediate(tlss->im, tlss->current_ev,
+ tevent_schedule_immediate(tlss->retry_im, tlss->current_ev,
tstream_tls_retry_trigger,
stream);
}
@@ -899,8 +899,8 @@ struct tevent_req *_tstream_tls_connect_send(TALLOC_CTX *mem_ctx,
tlss->plain_stream = plain_stream;
tlss->current_ev = ev;
- tlss->im = tevent_create_immediate(tlss);
- if (tevent_req_nomem(tlss->im, req)) {
+ tlss->retry_im = tevent_create_immediate(tlss);
+ if (tevent_req_nomem(tlss->retry_im, req)) {
return tevent_req_post(req, ev);
}
@@ -1147,8 +1147,8 @@ struct tevent_req *_tstream_tls_accept_send(TALLOC_CTX *mem_ctx,
tlss->plain_stream = plain_stream;
tlss->current_ev = ev;
- tlss->im = tevent_create_immediate(tlss);
- if (tevent_req_nomem(tlss->im, req)) {
+ tlss->retry_im = tevent_create_immediate(tlss);
+ if (tevent_req_nomem(tlss->retry_im, req)) {
return tevent_req_post(req, ev);
}