Merge in updates to doc/build of memaslap.
[m6w6/libmemcached] / libmemcached / quit.cc
index cd5d9ecd9e7275dcb20a235de8936a22e2c382f8..fb045ce1d9a05545e95d8a75dd0b961386e62a7d 100644 (file)
@@ -67,7 +67,7 @@ void memcached_quit_server(memcached_server_st *ptr, bool io_death)
       }
       else
       {
-        rc= memcached_do(ptr, "quit\r\n", sizeof("quit\r\n") -1, true);
+        rc= memcached_do(ptr, memcached_literal_param("quit\r\n"), true);
       }
 
       WATCHPOINT_ASSERT(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_FETCH_NOTFINISHED);