summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2005-07-18 16:35:06 +0000
committerTom Lane2005-07-18 16:35:06 +0000
commitdd4a190d188865e9626441c314f2ff331a631f58 (patch)
tree470acbadb813581990bd779220bab409efa10a02
parentac43da8466971553001e7105e03d514b72721814 (diff)
Fix C++-style comments, per Rocco Altier.
-rw-r--r--contrib/pgcrypto/pgp-compress.c4
-rw-r--r--contrib/pgcrypto/pgp-decrypt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/pgcrypto/pgp-compress.c b/contrib/pgcrypto/pgp-compress.c
index c90887e386..f1a41f10a2 100644
--- a/contrib/pgcrypto/pgp-compress.c
+++ b/contrib/pgcrypto/pgp-compress.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-compress.c,v 1.2 2005/07/11 15:07:59 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-compress.c,v 1.3 2005/07/18 16:35:06 tgl Exp $
*/
#include "postgres.h"
@@ -270,7 +270,7 @@ restart:
dec->stream.avail_out = dec->buf_len;
dec->pos = dec->buf;
- // Z_NO_FLUSH, Z_SYNC_FLUSH,
+ /* Z_NO_FLUSH, Z_SYNC_FLUSH */
flush = dec->stream.avail_in ? Z_SYNC_FLUSH : Z_FINISH;
res = inflate(&dec->stream, flush);
if (res != Z_OK && res != Z_STREAM_END)
diff --git a/contrib/pgcrypto/pgp-decrypt.c b/contrib/pgcrypto/pgp-decrypt.c
index ad6b375778..1817361075 100644
--- a/contrib/pgcrypto/pgp-decrypt.c
+++ b/contrib/pgcrypto/pgp-decrypt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-decrypt.c,v 1.2 2005/07/11 15:07:59 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-decrypt.c,v 1.3 2005/07/18 16:35:06 tgl Exp $
*/
#include "postgres.h"
@@ -339,7 +339,7 @@ static void mdc_free(void *priv)
ctx->mdc_ctx = NULL;
}
-// fixme: clarify
+/* fixme: clarify */
static int mdc_finish(PGP_Context *ctx, PullFilter *src,
int len, uint8 **data_p)
{