projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assert that we don't always have a valid session.
[citadel.git]
/
citadel
/
event_client.h
diff --git
a/citadel/event_client.h
b/citadel/event_client.h
index 0c9d5b7a93cd872443ee71a418fc5be5aad10913..66976a8aded74ce1fc8aa1a120976007579c26ca 100644
(file)
--- a/
citadel/event_client.h
+++ b/
citadel/event_client.h
@@
-328,6
+328,10
@@
void SetNextTimeout(AsyncIO *IO, double timeout);
curl_easy_strerror(sta)); \
} } while (0)
+#define SET_EV_TIME(IO, BASE) \
+ IO->Now = ev_now(BASE); \
+ if (IO->CitContext != NULL) IO->CitContext->lastcmd = IO->Now;
+
void InitIOStruct(AsyncIO *IO,
void *Data,
eNextState NextState,