X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions%2Fparser.yy;h=722ced5f9db6ffd41669cd9a96336f0624671ea7;hb=9fd31c03436acf24c593dc3a77c905eb137ef570;hp=6a7bd9b9f7378d3c011a00e61265db5fbfa8f98c;hpb=cb9cdd2652b441d362fdcbd3f185652f941d3108;p=awesomized%2Flibmemcached diff --git a/libmemcached/options/parser.yy b/libmemcached/options/parser.yy index 6a7bd9b9..722ced5f 100644 --- a/libmemcached/options/parser.yy +++ b/libmemcached/options/parser.yy @@ -40,6 +40,8 @@ #include #include +#include + #include #include #include @@ -185,7 +187,7 @@ statement: } | INCLUDE ' ' string { - if ((context->rc= memcached_parse_configure_file(context->memc, $3.c_str, $3.size)) != MEMCACHED_SUCCESS) + if ((context->rc= memcached_parse_configure_file(*context->memc, $3.c_str, $3.size)) != MEMCACHED_SUCCESS) { parser_abort(context, NULL); }