Skip to content

Commit 767d72c

Browse files
committed
Merge branch 'dhejyuyr-fix-unreachable-code'
Fix unreachable block in IPP backend
2 parents f9bc906 + 77c2367 commit 767d72c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

backend/ipp.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,14 +2116,7 @@ main(int argc, /* I - Number of command-line args */
21162116
password_tries = 0;
21172117
else
21182118
{
2119-
if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE &&
2120-
ipp_status != IPP_STATUS_ERROR_BUSY)
2121-
{
2122-
ippDelete(response);
2123-
ipp_status = IPP_STATUS_OK;
2124-
break;
2125-
}
2126-
else if (ipp_status == IPP_STATUS_ERROR_INTERNAL)
2119+
if (ipp_status == IPP_STATUS_ERROR_INTERNAL)
21272120
{
21282121
waitjob_tries ++;
21292122

@@ -2134,6 +2127,13 @@ main(int argc, /* I - Number of command-line args */
21342127
break;
21352128
}
21362129
}
2130+
else if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE &&
2131+
ipp_status != IPP_STATUS_ERROR_BUSY)
2132+
{
2133+
ippDelete(response);
2134+
ipp_status = IPP_STATUS_OK;
2135+
break;
2136+
}
21372137
}
21382138

21392139
if (response)

0 commit comments

Comments
 (0)