summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-29 09:30:18 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-29 09:30:18 +0000
commit20e9b14e39347608d03b41c93349ebe7017b9db9 (patch)
tree372a4c556cd442ca5339031200eac417c2bffc3c
parent4412b88148a21d54ba1c2f88ba894b6223986b9a (diff)
downloadrsyslog-20e9b14e39347608d03b41c93349ebe7017b9db9.tar.gz
rsyslog-20e9b14e39347608d03b41c93349ebe7017b9db9.tar.xz
rsyslog-20e9b14e39347608d03b41c93349ebe7017b9db9.zip
tweaked omgssapi a bit to use our regular calling conventions
-rw-r--r--plugins/omgssapi/omgssapi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/omgssapi/omgssapi.c b/plugins/omgssapi/omgssapi.c
index 1ca6f105..4d24744e 100644
--- a/plugins/omgssapi/omgssapi.c
+++ b/plugins/omgssapi/omgssapi.c
@@ -274,7 +274,7 @@ static rsRetVal TCPSendGSSInit(void *pvData)
gss_release_name(&min_stat, &target_name);
finalize_it:
- return iRet;
+ RETiRet;
fail:
logerror("GSS-API Context initialization failed\n");
@@ -287,7 +287,7 @@ finalize_it:
if (s != -1)
close(s);
pData->sock = -1;
- return RS_RET_GSS_SENDINIT_ERROR;
+ ABORT_FINALIZE(RS_RET_GSS_SENDINIT_ERROR);
}
@@ -376,7 +376,7 @@ static rsRetVal doTryResume(instanceData *pData)
break;
}
- return iRet;
+ RETiRet;
}
@@ -652,7 +652,7 @@ static rsRetVal setGSSMode(void __attribute__((unused)) *pVal, uchar *mode)
}
free(mode);
- return iRet;
+ RETiRet;
}