diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-16 15:45:13 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-16 15:45:13 +0200 |
commit | d071de578454754c4701285b3569e55c5cef1ee4 (patch) | |
tree | fdfcd413da779d388b4f32a31d194464b42b6dab /tools/omfile.c | |
parent | d9b0c77d3e719d4c08361e62f3b067228c30f6a9 (diff) | |
download | rsyslog-d071de578454754c4701285b3569e55c5cef1ee4.tar.gz rsyslog-d071de578454754c4701285b3569e55c5cef1ee4.tar.xz rsyslog-d071de578454754c4701285b3569e55c5cef1ee4.zip |
removed no longer needed things
... and some more cleanup. Also moved a file that I forgot
(thanks to Michael Biebl for pointing that out).
Diffstat (limited to 'tools/omfile.c')
-rw-r--r-- | tools/omfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index 6bdd17eb..4b5eb280 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -281,7 +281,6 @@ int resolveFileSizeLimit(instanceData *pData) */ if((pCmd = (uchar*)strdup((char*)pData->f_sizeLimitCmd)) == NULL) { /* there is not much we can do - we make syslogd close the file in this case */ - glblHadMemShortage = 1; return 1; } @@ -481,7 +480,6 @@ static int prepareDynFile(instanceData *pData, uchar *newFileName, unsigned iMsg /* we need to allocate memory for the cache structure */ pCache[iFirstFree] = (dynaFileCacheEntry*) calloc(1, sizeof(dynaFileCacheEntry)); if(pCache[iFirstFree] == NULL) { - glblHadMemShortage = TRUE; dbgprintf("prepareDynfile(): could not alloc mem, discarding this request\n"); return -1; } |