change license header library name to libmemcached-awesome
[awesomized/libmemcached] / src / libhashkit / hsieh.cc
index 6fc4fbb47b235c12149a27b68fd5e791d0528281..35ef4d7a50fb9338e474d1f7e2fe55b0ea3ca01e 100644 (file)
@@ -1,6 +1,6 @@
 /*
     +--------------------------------------------------------------------+
-    | libmemcached - C/C++ Client Library for memcached                  |
+    | libmemcached-awesome - C/C++ Client Library for memcached          |
     +--------------------------------------------------------------------+
     | Redistribution and use in source and binary forms, with or without |
     | modification, are permitted under the terms of the BSD license.    |
@@ -9,7 +9,7 @@
     | the terms online at: https://opensource.org/licenses/BSD-3-Clause  |
     +--------------------------------------------------------------------+
     | Copyright (c) 2006-2014 Brian Aker   https://datadifferential.com/ |
-    | Copyright (c) 2020 Michael Wallner   <mike@php.net>                |
+    | Copyright (c) 2020-2021 Michael Wallner        https://awesome.co/ |
     +--------------------------------------------------------------------+
 */
 
@@ -62,7 +62,8 @@ uint32_t hashkit_hsieh(const char *key, size_t key_length, void *) {
     hash += (unsigned char) (*key);
     hash ^= hash << 10;
     hash += hash >> 1;
-  default: break;
+  default:
+    break;
   }
 
   /* Force "avalanching" of final 127 bits */