Displaying 2 results from an estimated 2 matches for "23af6fa".
2009 Jun 08
2
[PATCH] few minor bugfixes
...danpb's feedback regarding getaddrinfo
---
main.c | 36 ++++++++++++++++++------------------
ovirt-viewer.spec | 9 ++++++++-
tunnel.c | 29 ++++++++++++++++++++---------
3 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/main.c b/main.c
index 2962f3f..23af6fa 100644
--- a/main.c
+++ b/main.c
@@ -36,6 +36,8 @@
#include <netinet/in.h>
#endif
+#include <arpa/inet.h>
+
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -903,37 +905,35 @@ viewer_credential (GtkWidget *vnc, GValueArray *credList)
gtk_widget_de...
2009 Jun 10
1
[PATCH] add cmd line option for server vnc port
...-71,6 +71,9 @@ extern gboolean check_cert;
/* server we're connecting to */
extern const char* hostname;
+/* port which to connect to the server via vnc */
+extern int ovirt_server_vnc_port;
+
/* vm currently in focus */
extern struct vm* vm_in_focus;
diff --git a/main.c b/main.c
index 23af6fa..dd26c93 100644
--- a/main.c
+++ b/main.c
@@ -75,6 +75,7 @@ static GSList *vmlist = NULL;
/* internal.h shared constructs */
const char* hostname;
struct vm* vm_in_focus;
+int ovirt_server_vnc_port = 5900;
/* Private functions. */
static void start_ui (void);
@@ -200,6 +201,8 @@ static cons...