Quellcode durchsuchen

Update copyright year

Update copyright year of source files (excl. tests)

(Includes minor changed: Format code and remove not required files from Visual Studio)
bel2125 vor 4 Jahren
Ursprung
Commit
e20cab9ef9

+ 0 - 2
VisualStudio/civetweb_lua/civetweb_lua.vcxproj

@@ -183,8 +183,6 @@
   <ItemGroup>
     <ClInclude Include="..\..\include\civetweb.h" />
     <ClInclude Include="..\..\src\third_party\civetweb_lua.h" />
-    <ClInclude Include="..\..\src\third_party\lua-5.2.4\src\lauxlib.h" />
-    <ClInclude Include="..\..\src\third_party\lua-5.2.4\src\lua.h" />
   </ItemGroup>
   <ItemGroup>
     <ClCompile Include="..\..\src\civetweb.c" />

+ 0 - 2
VisualStudio/civetweb_lua/civetweb_lua.vcxproj.filters

@@ -7,8 +7,6 @@
   <ItemGroup>
     <ClInclude Include="..\..\include\civetweb.h" />
     <ClInclude Include="..\..\src\third_party\civetweb_lua.h" />
-    <ClInclude Include="..\..\src\third_party\lua-5.2.4\src\lauxlib.h" />
-    <ClInclude Include="..\..\src\third_party\lua-5.2.4\src\lua.h" />
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="..\..\resources\res.rc" />

+ 1 - 1
include/civetweb.h

@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020 the Civetweb developers
+/* Copyright (c) 2013-2021 the Civetweb developers
  * Copyright (c) 2004-2013 Sergey Lyubka
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy

+ 1 - 1
src/civetweb.c

@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020 the Civetweb developers
+/* Copyright (c) 2013-2021 the Civetweb developers
  * Copyright (c) 2004-2013 Sergey Lyubka
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy

+ 1 - 1
src/handle_form.inl

@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2020 the Civetweb developers
+/* Copyright (c) 2016-2021 the Civetweb developers
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
src/main.c

@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020 the Civetweb developers
+/* Copyright (c) 2013-2021 the Civetweb developers
  * Copyright (c) 2004-2013 Sergey Lyubka
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy

+ 4 - 1
src/mod_lua.inl

@@ -2767,7 +2767,10 @@ prepare_lua_environment(struct mg_context *ctx,
 		reg_conn_function(L, "send_file_body", lsp_send_file_body, conn);
 		reg_conn_function(L, "send_http_error", lsp_send_http_error, conn);
 		reg_conn_function(L, "send_http_ok", lsp_send_http_ok, conn);
-		reg_conn_function(L, "send_http_redirect", lsp_send_http_redirect, conn);
+		reg_conn_function(L,
+		                  "send_http_redirect",
+		                  lsp_send_http_redirect,
+		                  conn);
 		reg_conn_function(L, "redirect", lsp_redirect, conn);
 	}
 

+ 1 - 1
src/mod_lua_shared.inl

@@ -1,4 +1,4 @@
-/* Copyright (c) 2018-2020 CivetWeb developers
+/* Copyright (c) 2018-2021 CivetWeb developers
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
src/third_party/civetweb_lua.h

@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2020 the Civetweb developers
+/* Copyright (c) 2015-2021 the Civetweb developers
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
src/timer.inl

@@ -1,6 +1,6 @@
 /* This file is part of the CivetWeb web server.
  * See https://github.com/civetweb/civetweb/
- * (C) 2014-2020 by the CivetWeb authors, MIT license.
+ * (C) 2014-2021 by the CivetWeb authors, MIT license.
  */
 
 #if !defined(MAX_TIMERS)