ddnet/src/base
bors[bot] 1abe73c2ec
Merge #5272
5272: Handle failed socket creation (fixes #5267) r=heinrich5991 a=def-

by returning nullpointer, as the calling functions expect

Broken in 471bb441a1

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
2022-05-29 08:50:00 +00:00
..
tl Remove base/tl/range.h 2022-05-27 16:36:40 +02:00
unicode Changed file names to match classic source.c include header.h 2022-05-07 00:54:29 +02:00
color.h clang-format 2022-05-28 02:22:43 +02:00
detect.h Emscripten support 2022-03-25 12:42:18 +01:00
dynamic.h Run clang-format 2020-09-26 21:50:15 +02:00
hash.cpp Added external linkage instead of static const 2022-04-03 01:12:27 +02:00
hash.h Added external linkage instead of static const 2022-04-03 01:12:27 +02:00
hash_bundled.cpp Use cpp 2021-06-24 17:19:17 +02:00
hash_ctxt.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
hash_libtomcrypt.cpp Add modernize-deprecated-headers 2022-02-15 00:22:52 +01:00
hash_openssl.cpp Use cpp 2021-06-24 17:19:17 +02:00
log.cpp Use std::make_unique (fixes #5166) 2022-05-28 14:46:55 +02:00
log.h Add logging macros log_{error,warn,info,debug,trace} 2022-04-29 15:32:42 +02:00
logger.h Unify logging infrastructure between IConsole and dbg_msg 2022-04-29 15:21:26 +02:00
math.h Use std::gcd 2022-04-28 17:01:53 +02:00
system.cpp Handle failed socket creation (fixes #5267) 2022-05-29 00:43:07 +02:00
system.h Switch to nanoseconds 2022-05-18 18:05:41 +02:00
vmath.h vmath: Make vector2_base() constructors constexpr 2022-05-28 20:58:22 +03:00