Skip to content
Browse files

dird: fixed a wrong switch condition

- corrected a switch statement on a false struct variable
  (has to be vol_list_t::slot_type, not vol_list_t::slot_status)
  in file dird/
  • Loading branch information...
franku committed May 24, 2019
1 parent 33c4afa commit 52ef663362f37fd7783ee1d09c3f933cbcb1a8b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/dird/
@@ -482,7 +482,7 @@ dlist *native_get_vol_list(UaContext *ua, StorageResource *store, bool listall,
case 'F':
vl->slot_status = slot_status_full;
switch (vl->slot_status) {
switch (vl->slot_type) {
case slot_type_storage:
case slot_type_import:
if (field4) {

0 comments on commit 52ef663

Please sign in to comment.
You can’t perform that action at this time.