Author: pawelz                       Date: Sun Jul  5 09:21:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- port number is unsigned int, not int nor string.

---- Files affected:
packages/gabriel:
   gabriel-sshport.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/gabriel/gabriel-sshport.patch
diff -u packages/gabriel/gabriel-sshport.patch:1.1 
packages/gabriel/gabriel-sshport.patch:1.2
--- packages/gabriel/gabriel-sshport.patch:1.1  Sat Jul  4 21:30:13 2009
+++ packages/gabriel/gabriel-sshport.patch      Sun Jul  5 11:21:12 2009
@@ -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"},
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gabriel/gabriel-sshport.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to