git.annexia.org
/
guestfs-browser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de4375c
)
Small error in progress bar callback.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 8 Apr 2011 09:44:45 +0000
(10:44 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 8 Apr 2011 09:44:45 +0000
(10:44 +0100)
The array could be longer than 4 elements in a future version
of libguestfs, so change check from = to >=.
slave.ml
patch
|
blob
|
history
diff --git
a/slave.ml
b/slave.ml
index
c12f9a3
..
f72a5aa
100644
(file)
--- a/
slave.ml
+++ b/
slave.ml
@@
-491,7
+491,7
@@
and open_disk_images images cb =
ignore (
g#set_event_callback (
fun g event handle buf array ->
- if event == G.EVENT_PROGRESS && Array.length array
=
= 4 then (
+ if event == G.EVENT_PROGRESS && Array.length array
>
= 4 then (
let proc_nr = array.(0)
and serial = array.(1)
and position = array.(2)