From b326a277743b80dde7e5263a232db8df99149164 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 2 Jun 2015 14:24:48 +0100 Subject: Dropped unneeded constness on the notice message That's a strdup result, we 0wn it. --- psycopg/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psycopg/connection.h') diff --git a/psycopg/connection.h b/psycopg/connection.h index c52abc9..d15c9c6 100644 --- a/psycopg/connection.h +++ b/psycopg/connection.h @@ -71,7 +71,7 @@ extern HIDDEN PyTypeObject connectionType; struct connectionObject_notice { struct connectionObject_notice *next; - const char *message; + char *message; }; /* the typedef is forward-declared in psycopg.h */ -- cgit v1.2.1