aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index c40dea9..2d52299 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1281,15 +1281,15 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h,
if (callback != NULL) {
switch (what) {
+ case RPMCALLBACK_INST_START:
case RPMCALLBACK_TRANS_START:
case RPMCALLBACK_UNINST_START:
- case RPMCALLBACK_INST_START:
callback_subtype = "start";
gettimeofday(&tprev, NULL);
break;
+ case RPMCALLBACK_INST_PROGRESS:
case RPMCALLBACK_TRANS_PROGRESS:
case RPMCALLBACK_UNINST_PROGRESS:
- case RPMCALLBACK_INST_PROGRESS:
callback_subtype = "progress";
gettimeofday(&tcurr, NULL);
delta = 1000000 * (tcurr.tv_sec - tprev.tv_sec) + (tcurr.tv_usec - tprev.tv_usec);