diff options
| author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-23 16:07:50 +0200 |
|---|---|---|
| committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-26 16:30:43 +0200 |
| commit | 42ffe6f8b4efe2a1e80fc98dbded37823133b55c (patch) | |
| tree | cf0a3df2e127370158ebdfb47e51e34741d7a9e8 /src/debug-helper.c | |
| parent | 0107214070b796ab5f00168f963081238e6379fa (diff) | |
Simplify virt_viewer_auth_libvirt_credentials() return value logic
As the function should return < 0 in error cases, let's explicitly
return/set the return value to -1 in error cases. Otherwise, the
function will return 0.
This patch also fixes a regression introduced by (a5ce2ed3).
https://bugzilla.redhat.com/show_bug.cgi?id=1142742
Diffstat (limited to 'src/debug-helper.c')
0 files changed, 0 insertions, 0 deletions
