public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikolai Zhubr <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [Patch] Fix libssh2 build error on vs2010
Date: Thu, 07 Jan 2016 15:49:17 +0300
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hello all,

Please consider the attached trivial patch to fix build errors with VS2010.
Supposedly it would not hurt anyway.


Thank you,
Nikolai


--- pgadmin/libssh2/hostkey.c.orig	2016-01-04 16:05:37.000000000 +0300
+++ pgadmin/libssh2/hostkey.c	2016-01-07 15:34:02.646575436 +0300
@@ -277,8 +277,8 @@
     libssh2_dsa_ctx *dsactx;
     const unsigned char *p, *q, *g, *y, *s;
     unsigned long p_len, q_len, g_len, y_len, len;
+    int ret;
     (void) hostkey_data_len;
-	int ret;
 
     if (*abstract) {
         hostkey_method_ssh_dss_dtor(session, abstract);



-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [text/plain] fix_vs2010.diff (421B, 2-fix_vs2010.diff)
  download | inline diff:
--- pgadmin/libssh2/hostkey.c.orig	2016-01-04 16:05:37.000000000 +0300
+++ pgadmin/libssh2/hostkey.c	2016-01-07 15:34:02.646575436 +0300
@@ -277,8 +277,8 @@
     libssh2_dsa_ctx *dsactx;
     const unsigned char *p, *q, *g, *y, *s;
     unsigned long p_len, q_len, g_len, y_len, len;
+    int ret;
     (void) hostkey_data_len;
-	int ret;
 
     if (*abstract) {
         hostkey_method_ssh_dss_dtor(session, abstract);



view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Patch] Fix libssh2 build error on vs2010
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox