git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcda53c
)
daemon: Fix debug-upload command if compiled without --enable-debug.
author
Richard Jones
<rjones@redhat.com>
Wed, 8 Sep 2010 15:42:06 +0000
(16:42 +0100)
committer
Richard Jones
<rjones@redhat.com>
Wed, 8 Sep 2010 15:43:16 +0000
(16:43 +0100)
This was an upstream bug which we never encountered, and meanwhile
was fixed upstream by removing the conditional --enable-debug code.
daemon/debug.c
patch
|
blob
|
history
diff --git
a/daemon/debug.c
b/daemon/debug.c
index
0867ccd
..
11a26c3
100644
(file)
--- a/
daemon/debug.c
+++ b/
daemon/debug.c
@@
-394,6
+394,6
@@
do_debug_upload (const char *filename MAYBE_UNUSED, int mode MAYBE_UNUSED)
return 0;
#else
reply_with_error ("guestfsd was not configured with --enable-debug-command");
- return
NULL
;
+ return
-1
;
#endif
}