Browse Source

Format code after merge

bel 9 years ago
parent
commit
5e547ff2e5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/civetweb.h
  2. 1 1
      src/civetweb.c

+ 1 - 1
include/civetweb.h

@@ -210,7 +210,7 @@ struct mg_callbacks {
 	   Parameters:
 	     ctx: context handle
 	     thread_type: a value of 1 indicates a worker thread. */
-	void(*init_thread)(const struct mg_context *ctx, int thread_type);
+	void (*init_thread)(const struct mg_context *ctx, int thread_type);
 
 	/* Called when civetweb context is deleted.
 	   Parameters:

+ 1 - 1
src/civetweb.c

@@ -2256,7 +2256,7 @@ send_static_cache_header(struct mg_connection *conn)
 	 * Reason: see https://www.mnot.net/blog/2007/05/15/expires_max-age */
 	/* See also https://www.mnot.net/cache_docs/ */
 	return mg_printf(conn, "Cache-Control: max-age=%u\r\n", (unsigned)max_age);
-#else /* NO_CACHING */
+#else  /* NO_CACHING */
 	return send_no_cache_header(conn);
 #endif /* !NO_CACHING */
 }