X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Fmemcached_light.cc;h=7a29db266f7752d5dc5c2ae237f81dd2bcb76ecb;hb=03fa930d5d4adbe7611ceccd3c8d012b524a36ea;hp=e7f952eacee1a1d3633cdfbbdcc0313eb63873f8;hpb=6dab4c45effc85493d9e097d0df3446e202f3e8e;p=awesomized%2Flibmemcached diff --git a/example/memcached_light.cc b/example/memcached_light.cc index e7f952ea..7a29db26 100644 --- a/example/memcached_light.cc +++ b/example/memcached_light.cc @@ -9,11 +9,11 @@ * With that in mind, let me give you some pointers into the source: * storage.c/h - Implements the item store for this server and not really * interesting for this example. - * interface_v0.c - Shows an implementation of the memcached server by using + * interface_v0.cc - Shows an implementation of the memcached server by using * the "raw" access to the packets as they arrive - * interface_v1.c - Shows an implementation of the memcached server by using + * interface_v1.cc - Shows an implementation of the memcached server by using * the more "logical" interface. - * memcached_light.c - This file sets up all of the sockets and run the main + * memcached_light.cc- This file sets up all of the sockets and run the main * message loop. * * @@ -23,7 +23,7 @@ * the library) */ -#include "config.h" +#include #include #include @@ -77,7 +77,8 @@ struct options_st { options_st() : service("9999"), - is_verbose(false) + is_verbose(false), + opt_daemon(false) { } };