X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=dss1.cpp;h=00bdb062f83a849657cd5623d1a925cf23f3c44c;hp=fe4188a14ce45fe885bd9b2d346822790f41be0b;hb=29d2da58fcb4ed82d2ea5ed7df5ced876a64fd50;hpb=c33007184de93d4a36bc16461964753946437916 diff --git a/dss1.cpp b/dss1.cpp index fe4188a..00bdb06 100644 --- a/dss1.cpp +++ b/dss1.cpp @@ -2327,17 +2327,17 @@ void Pdss1::message_3pty(unsigned int epoint_id, int message_id, union parameter if (param->threepty.result) { fac.comp = CompReturnResult; fac.u.retResult.invokeId = param->threepty.invoke_id; + fac.u.retResult.operationValuePresent = 1; + if (param->threepty.begin) + fac.u.retResult.operationValue = Fac_Begin3PTY; + if (param->threepty.end) + fac.u.retResult.operationValue = Fac_End3PTY; } if (param->threepty.error) { fac.comp = CompReturnError; fac.u.retError.invokeId = param->threepty.invoke_id; fac.u.retError.errorValue = FacError_Gen_InvalidCallState; } - fac.u.retResult.operationValuePresent = 1; - if (param->threepty.begin) - fac.u.retResult.operationValue = Fac_Begin3PTY; - if (param->threepty.end) - fac.u.retResult.operationValue = Fac_End3PTY; encodeFac(fac_ie, &fac); /* sending facility */