+void
+rxpd_connection_cmd_DELETE (int fd, short event, void* ptr)
+{
+ (void) fd;
+ struct rxpd_connection* self = (struct rxpd_connection*) ptr;
+
+ if (!event)
+ {
+ if (self->file)
+ {
+ rxpd_file_delete (self->file);
+ rxpd_buffer_printf (&self->out, "#OK:\n");
+ }
+ rxpd_connection_delete (self);
+ }
+}
+