]> git.pld-linux.org Git - packages/gabriel.git/commitdiff
- port number is unsigned int, not int nor string.
authorpawelz <pawelz@pld-linux.org>
Sun, 5 Jul 2009 09:21:12 +0000 (09:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gabriel-sshport.patch -> 1.2

gabriel-sshport.patch

index 70e9b90aa4858eaa42b25a2fa052693fd7a4d32d..c3cc29d06c108e548ad2d8d8eb63507ba90f77b0 100644 (file)
@@ -12,7 +12,7 @@
  
  SSH_SESSION *
  gabriel_session_create (gchar * host,
-+                      gint ssh_port,
++                      guint ssh_port,
                          gchar * username,
                          gchar * password)
  {
@@ -28,7 +28,7 @@
      GOptionContext *context;
      GError *error = NULL;
      gchar *host = DEFAULT_ADDRESS;
-+    gint ssh_port = DEFAULT_SSH_PORT;
++    guint ssh_port = DEFAULT_SSH_PORT;
      gchar *username = NULL;
      gchar *password = NULL;
      gchar *local_address = DEFAULT_ADDRESS;
@@ -36,7 +36,7 @@
      GOptionEntry entries[] = {
        {"host", 'h', 0, G_OPTION_ARG_STRING, &host,
         "Hostname or IP of the remote host", "HOSTNAME"},
-+      {"sshport", 'P', 0, G_OPTION_ARG_STRING, &ssh_port,
++      {"sshport", 'P', 0, G_OPTION_ARG_INT, &ssh_port,
 +       "Port to connect to on the remote host", "SSHPORT"},
        {"username", 'u', 0, G_OPTION_ARG_STRING, &username,
         "Username on the remote host", "USERNAME"},
This page took 0.075935 seconds and 4 git commands to generate.