summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-16 15:45:13 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-16 15:45:13 +0200
commitd071de578454754c4701285b3569e55c5cef1ee4 (patch)
treefdfcd413da779d388b4f32a31d194464b42b6dab /tools/omfile.c
parentd9b0c77d3e719d4c08361e62f3b067228c30f6a9 (diff)
downloadrsyslog-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.c2
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;
}