event_del (&session->ev);
close (session->fd);
- session->task->save.saved--;
- if (session->task->save.saved == 0) {
- /* Call other filters */
- session->task->save.saved = 1;
- process_filters (session->task);
- }
}
/* Call this whenever we got data from fuzzy storage */
ok:
remove_normal_event (session->task->s, fuzzy_io_fin, session);
+ session->task->save.saved--;
+ if (session->task->save.saved == 0) {
+ /* Call other filters */
+ session->task->save.saved = 1;
+ process_filters (session->task);
+ }
}
static void
event_del (&session->ev);
close (session->fd);
- (*session->saved)--;
- if (*session->saved == 0) {
- session->session->state = STATE_REPLY;
- session->session->dispatcher->write_callback (session->session);
- }
}
static void
}
ok:
remove_normal_event (session->session->s, fuzzy_learn_fin, session);
+
+ (*session->saved)--;
+ if (*session->saved == 0) {
+ session->session->state = STATE_REPLY;
+ session->session->dispatcher->write_callback (session->session);
+ }
}
static inline void