Fixed distcheck dtrace issue.
[awesomized/libmemcached] / docs / libmemcached_examples.pod
old mode 100755 (executable)
new mode 100644 (file)
index e1098c5..1c937fe
@@ -11,7 +11,7 @@ the library.
 =head2 Creating and Freeing structure
 
   memcached_st *memc;
-  memcached_return rc;
+  memcached_return_t rc;
 
   memc= memcached_create(NULL);
   ...do stuff...
@@ -64,7 +64,7 @@ structures.
   {
     rc= memcached_set(memc, key, strlen(key), 
     value, value_length,
-    (time_t)0, (uint16_t)0);
+    (time_t)0, (uint32_t)0);
     assert(rc == MEMCACHED_SUCCESS);
   }
 
@@ -74,11 +74,11 @@ It is best practice to always look at the return value of any operation.
 
 =head2 Fetching multiple values
 
-  memcached_return rc;
+  memcached_return_t rc;
   char *keys[]= {"fudge", "son", "food"};
   size_t key_length[]= {5, 3, 4};
   unsigned int x;
-  uint16_t flags;
+  uint32_t flags;
 
   char return_key[MEMCACHED_MAX_KEY];
   size_t return_key_length;
@@ -101,7 +101,7 @@ C<MEMCACHED_MAX_KEY> is provided for usage.
 =head1 HOME
 
 To find out more information please check:
-L<http://tangent.org/552/libmemcached.html>
+L<https://launchpad.net/libmemcached>
 
 =head1 AUTHOR