Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
sblim-sfcb
0017-Add-braces-around-else.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0017-Add-braces-around-else.patch of Package sblim-sfcb
From 56dad2372b0f106c6793c893ad17b3c874ed0a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Tue, 28 Nov 2017 11:58:34 +0100 Subject: [PATCH 17/25] Add braces around else --- interopProvider.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interopProvider.c b/interopProvider.c index 31b67f5af3d6..9088b5ebd6b7 100644 --- a/interopProvider.c +++ b/interopProvider.c @@ -1667,11 +1667,12 @@ InteropProviderInvokeMethod(CMPIMethodMI * mi, if (ha) { if (ha->useCount) { setStatus(&st, CMPI_RC_ERR_FAILED, "Handler in use"); - } else + } else { removeHandler(ha, key); LDcount--; sfcbIndAuditLog("RemoveHandler-> ", CMGetCharPtr(CMObjectPathToString(op, NULL))); + } } else { setStatus(&st, CMPI_RC_ERR_NOT_FOUND, "Handler object not found"); } -- 2.15.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor