mirror of
https://github.com/sigmasternchen/CFloor
synced 2025-03-15 20:28:56 +00:00
server string
This commit is contained in:
parent
47412de06a
commit
fd3e96c884
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,8 @@
|
||||||
#include "ssl.h"
|
#include "ssl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define SERVER_STRING ("CFloor V0.1")
|
||||||
|
|
||||||
struct networkingConfig networkingConfig;
|
struct networkingConfig networkingConfig;
|
||||||
struct config* config;
|
struct config* config;
|
||||||
|
|
||||||
|
@ -112,6 +114,8 @@ int main(int argc, char** argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
headers_mod(&(networkingConfig.defaultHeaders), "Server", SERVER_STRING);
|
||||||
|
|
||||||
networking_init(networkingConfig);
|
networking_init(networkingConfig);
|
||||||
|
|
||||||
while(true) {
|
while(true) {
|
||||||
|
|
Loading…
Reference in a new issue