diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-25 12:54:59 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-25 12:54:59 +0200 |
commit | 75cf92117c118f9aca37b39f44ad1e1e759f78bf (patch) | |
tree | d0017f4419daa9e0ae22117f44b78208a4b35307 /runtime/obj-types.h | |
parent | 21bea2e1df044771f713fa426bf6b005385c40da (diff) | |
download | rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.gz rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.bz2 rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.zip |
made gtls server driver work in plain tcp mode
Diffstat (limited to 'runtime/obj-types.h')
-rw-r--r-- | runtime/obj-types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/obj-types.h b/runtime/obj-types.h index 2d0e0f14..5f531eb1 100644 --- a/runtime/obj-types.h +++ b/runtime/obj-types.h @@ -107,8 +107,8 @@ struct obj_s { /* the dummy struct that each derived class can be casted to */ ASSERT(pObj != NULL); \ ASSERT((unsigned) ((obj_t*) (pObj))->iObjCooCKiE == (unsigned) 0xBADEFEE); \ if(strcmp((char*)(((obj_t*)pObj)->pObjInfo->pszID), #objType)) { \ - dbgprintf("ISOBJ assert failure: invalid object type, expected '%s' " \ - "actual '%s'\n", #objType, (((obj_t*)pObj)->pObjInfo->pszID)); \ + dbgprintf("%s:%d ISOBJ assert failure: invalid object type, expected '%s' " \ + "actual '%s'\n", __FILE__, __LINE__, #objType, (((obj_t*)pObj)->pObjInfo->pszID)); \ assert(0); /* trigger assertion, messge we already have */ \ } \ } while(0) |