prepare v1.1.4
[awesomized/libmemcached] / src / libhashkit / has.cc
index 60e5af00dc9d0d4cf35653e78a16a104aa6f50e7..d176e1c5ef36ecadf137db75541e9699bd5bbdc2 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/ |
     +--------------------------------------------------------------------+
 */
 
@@ -46,9 +46,11 @@ bool libhashkit_has_algorithm(const hashkit_hash_algorithm_t algo) {
   case HASHKIT_HASH_MD5:
   case HASHKIT_HASH_CRC:
   case HASHKIT_HASH_JENKINS:
-  case HASHKIT_HASH_CUSTOM: return true;
+  case HASHKIT_HASH_CUSTOM:
+    return true;
 
-  case HASHKIT_HASH_MAX: break;
+  case HASHKIT_HASH_MAX:
+    break;
   }
 
   return false;