OSDN Git Service

formatted all files with 'astyle -A8 -HUpc -k3 -z2 -r ./*.cpp ./*.c ./*.h'.
[ultramonkey-l7/ultramonkey-l7-v3.git] / l7vsd / module / protocol / http_utility.cpp
index a7b4a96..b2de4aa 100644 (file)
@@ -707,8 +707,7 @@ bool    l7vs::http_utility::is_get_request(const char *buffer)
         bool    check_result            = false;
 
         if (likely(buffer != NULL)) {
-                if ( strncmp("GET", buffer, 3) == 0 )
-                {
+                if (strncmp("GET", buffer, 3) == 0) {
                         return true;
                 }
         }
@@ -724,8 +723,7 @@ bool    l7vs::http_utility::is_post_request(const char *buffer)
         bool    check_result            = false;
 
         if (likely(buffer != NULL)) {
-                if ( strncmp("POST", buffer, 4) == 0 )
-                {
+                if (strncmp("POST", buffer, 4) == 0) {
                         return true;
                 }
         }