1
0
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:
Andreas Schneider 2008-07-29 15:43:18 +02:00
parent 7143f20f95
commit ce6896453c

View File

@ -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 */