aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-14 10:57:20 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-14 10:57:20 +0200
commit1ef694894b813f69959072fc0acbab285adcbd70 (patch)
tree546913553b8ec357968e7ebd636a286035f6f33c /URPM.xs
parent1b943f3c729c8b9d669329f853672c654e602d60 (diff)
downloadperl-URPM-1ef694894b813f69959072fc0acbab285adcbd70.tar
perl-URPM-1ef694894b813f69959072fc0acbab285adcbd70.tar.gz
perl-URPM-1ef694894b813f69959072fc0acbab285adcbd70.tar.bz2
perl-URPM-1ef694894b813f69959072fc0acbab285adcbd70.tar.xz
perl-URPM-1ef694894b813f69959072fc0acbab285adcbd70.zip
sort case
Diffstat (limited to 'URPM.xs')
-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);