Skip to content

Conversation

@The-EDev
Copy link
Member

closes #438

@The-EDev The-EDev marked this pull request as draft May 20, 2022 20:14
@crow-clang-format
Copy link

--- include/crow/query_string.h	(before formatting)
+++ include/crow/query_string.h	(after formatting)
@@ -23,7 +23,7 @@
  *  Also decodes the value portion of the k/v pair *in-place*.  In a future
  *  enhancement it will also have a compile-time option of sorting qs_kv
  *  alphabetically by key.  */
-int qs_parse(char * qs, char * qs_kv[], int qs_kv_size, bool parse_url);
+int qs_parse(char* qs, char* qs_kv[], int qs_kv_size, bool parse_url);
 
 
 /*  Used by qs_parse to decode the value portion of a k/v pair  */
@@ -97,7 +97,7 @@
 }
 
 
-inline int qs_parse(char * qs, char * qs_kv[], int qs_kv_size, bool parse_url = true)
+inline int qs_parse(char* qs, char* qs_kv[], int qs_kv_size, bool parse_url = true)
 {
     int i, j;
     char * substr_ptr;
@@ -333,8 +333,8 @@
         }
 
 
-        query_string(std::string params, bool url = true)
-            : url_(std::move(params))
+        query_string(std::string params, bool url = true):
+          url_(std::move(params))
         {
             if (url_.empty())
                 return;
@The-EDev The-EDev marked this pull request as ready for review May 21, 2022 09:51
@crow-clang-format
Copy link

--- include/crow/query_string.h	(before formatting)
+++ include/crow/query_string.h	(after formatting)
@@ -23,7 +23,7 @@
  *  Also decodes the value portion of the k/v pair *in-place*.  In a future
  *  enhancement it will also have a compile-time option of sorting qs_kv
  *  alphabetically by key.  */
-int qs_parse(char * qs, char * qs_kv[], int qs_kv_size, bool parse_url);
+int qs_parse(char* qs, char* qs_kv[], int qs_kv_size, bool parse_url);
 
 
 /*  Used by qs_parse to decode the value portion of a k/v pair  */
@The-EDev The-EDev merged commit c897101 into master May 23, 2022
@The-EDev The-EDev deleted the qs-from-req branch May 23, 2022 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants