+#ifdef NOT_DONE
+ /*
+ ** We might want to purge the input buffer if we haven't consumed
+ ** any output yet... The test for the limits is the purge is inline
+ ** in the purge function to avoid duplicating the logic..
+ */
+ {
+ memcached_return rc;
+ WATCHPOINT_ASSERT(ptr->fd != -1);
+ rc= memcached_purge(ptr);
+
+ if (rc != MEMCACHED_SUCCESS || rc != MEMCACHED_STORED)
+ return -1;
+ }
+#endif
+
+ WATCHPOINT_ASSERT(ptr->fd != -1);
+ if ((sent_length= write(ptr->fd, local_write_ptr,
+ write_length)) == -1)