From: Brian Aker Date: Fri, 16 Oct 2009 15:01:26 +0000 (-0700) Subject: Fix typo X-Git-Tag: 0.35~10 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d20cee857309bed42aaacf8486c440349a579a3c;p=m6w6%2Flibmemcached Fix typo --- diff --git a/example/interface_v0.c b/example/interface_v0.c index 85dd2c7d..59631330 100644 --- a/example/interface_v0.c +++ b/example/interface_v0.c @@ -559,7 +559,7 @@ memcached_binary_protocol_callback_st interface_v0_impl= { #endif }; -void initialize_iterface_v0_handler(void) +void initialize_interface_v0_handler(void) { interface_v0_impl.interface.v0.comcode[PROTOCOL_BINARY_CMD_GET]= get_command_handler; interface_v0_impl.interface.v0.comcode[PROTOCOL_BINARY_CMD_SET]= set_command_handler; diff --git a/example/memcached_light.c b/example/memcached_light.c index 86087c5a..c4495b59 100644 --- a/example/memcached_light.c +++ b/example/memcached_light.c @@ -234,7 +234,7 @@ int main(int argc, char **argv) * We need to initialize the handlers manually due to a bug in the * warnings generated by struct initialization in gcc (all the way up to 4.4) */ - initialize_iterface_v0_handler(); + initialize_interface_v0_handler(); while ((cmd= getopt(argc, argv, "v1p:?")) != EOF) { diff --git a/example/memcached_light.h b/example/memcached_light.h index e1ca4152..52916939 100644 --- a/example/memcached_light.h +++ b/example/memcached_light.h @@ -2,6 +2,6 @@ #ifndef MEMCACHED_LIGHT_H #define MEMCACHED_LIGHT_H -extern void initialize_iterface_v0_handler(void); +extern void initialize_interface_v0_handler(void); #endif