Fix typo
authorBrian Aker <brian@gaz>
Fri, 16 Oct 2009 15:01:26 +0000 (08:01 -0700)
committerBrian Aker <brian@gaz>
Fri, 16 Oct 2009 15:01:26 +0000 (08:01 -0700)
example/interface_v0.c
example/memcached_light.c
example/memcached_light.h

index 85dd2c7d426dad28caafe73b5c2cdf0c3761ca34..596313305fb5f055ea14706f3e4be393e47a4b79 100644 (file)
@@ -559,7 +559,7 @@ memcached_binary_protocol_callback_st interface_v0_impl= {
 #endif
 };
 
 #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;
 {
   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;
index 86087c5a9b7010140a4de95a0ade3b1e2c5fb72f..c4495b5946802eca82b3e4ae11ada8573d9bf9ac 100644 (file)
@@ -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)
    */
    * 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)
   {
 
   while ((cmd= getopt(argc, argv, "v1p:?")) != EOF)
   {
index e1ca41526a8898bce06e5fe2d9d50282d464982c..529169393fefd2e92215bc68b516cafd6aa67094 100644 (file)
@@ -2,6 +2,6 @@
 #ifndef MEMCACHED_LIGHT_H
 #define MEMCACHED_LIGHT_H
 
 #ifndef MEMCACHED_LIGHT_H
 #define MEMCACHED_LIGHT_H
 
-extern void initialize_iterface_v0_handler(void);
+extern void initialize_interface_v0_handler(void);
 
 #endif
 
 #endif