mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-13 04:15:43 +02:00
Fix check for CSYNC_NOMEMORY env variable.
This commit is contained in:
parent
7143f20f95
commit
ce6896453c
@ -53,7 +53,7 @@ void *c_malloc(size_t size) {
|
||||
void *c_realloc(void *ptr, size_t size) {
|
||||
|
||||
#ifdef CSYNC_MEM_NULL_TESTS
|
||||
if (getenv("CSYNC_NOMEMORY") == NULL) {
|
||||
if (getenv("CSYNC_NOMEMORY")) {
|
||||
return NULL;
|
||||
}
|
||||
#endif /* CSYNC_MEM_NULL_TESTS */
|
||||
|
Loading…
Reference in New Issue
Block a user