git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start the generated code and code generator.
[libguestfs.git]
/
src
/
guestfs.c
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
ea86f1b
..
bbcf7a6
100644
(file)
--- a/
src/guestfs.c
+++ b/
src/guestfs.c
@@
-75,6
+75,7
@@
static void select_main_loop_quit (guestfs_h *g);
#define UNIX_PATH_MAX 108
#define UNIX_PATH_MAX 108
+/* Also in guestfsd.c */
#define VMCHANNEL_PORT 6666
#define VMCHANNEL_ADDR "10.0.2.4"
#define VMCHANNEL_PORT 6666
#define VMCHANNEL_ADDR "10.0.2.4"
@@
-833,7
+834,7
@@
sock_read_event (void *data, int watch, int fd, int events)
* starts up it sends a "magic" value (longer than any possible
* message). Check for this.
*/
* starts up it sends a "magic" value (longer than any possible
* message). Check for this.
*/
- if (len == 0xf5f5
f5
f5) {
+ if (len == 0xf5f5
5f
f5) {
if (g->state != LAUNCHING)
error (g, "received magic signature from guestfsd, but in state %d",
g->state);
if (g->state != LAUNCHING)
error (g, "received magic signature from guestfsd, but in state %d",
g->state);