]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
capabilities.c: run format.sh 3512/head
authorJose M. Guisado Gomez <guigom@riseup.net>
Sat, 18 Jul 2020 10:44:19 +0000 (12:44 +0200)
committerJose M. Guisado Gomez <guigom@riseup.net>
Sat, 18 Jul 2020 10:44:19 +0000 (12:44 +0200)
src/capabilities.c

index 8e94118366e4992d765d6755214090af5b96161e..a3a31c1aec197bc5f912d348e1f3ded5d105abb3 100644 (file)
@@ -193,9 +193,10 @@ static int cap_get_dmi_variables(json_t *parent, const dmi_type type,
 /* http_handler is the callback called by the microhttpd library. It essentially
  * handles all HTTP request aspects and creates an HTTP response. */
 static MHD_RESULT cap_http_handler(void *cls, struct MHD_Connection *connection,
-                            const char *url, const char *method,
-                            const char *version, const char *upload_data,
-                            size_t *upload_data_size, void **connection_state) {
+                                   const char *url, const char *method,
+                                   const char *version, const char *upload_data,
+                                   size_t *upload_data_size,
+                                   void **connection_state) {
   if (strcmp(method, MHD_HTTP_METHOD_GET) != 0) {
     return MHD_NO;
   }