Skip to content

Commit

Permalink
Fix problem reported by coverity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Aug 4, 2015
1 parent c0ad310 commit 9d303b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dird/sd_cmds.c
Expand Up @@ -833,7 +833,7 @@ bool transfer_volume(UAContext *ua, STORERES *store, int src_slot, int dst_slot)
/*
* See if this is a failure msg.
*/
if (sd->msg[0] == '3' && sd->msg[0] == '9')
if (sd->msg[1] == '9')
retval = false;

ua->send_msg("%s\n", sd->msg); /* pass them on to user */
Expand Down

0 comments on commit 9d303b2

Please sign in to comment.