Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 48f3ddf

Browse files
committed
Fix ecpg_sqlca_key_destructor to return void.
1 parent b76c536 commit 48f3ddf

File tree

1 file changed

+2
-2
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+2
-2
lines changed

src/interfaces/ecpg/ecpglib/misc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.19 2004/03/14 12:16:30 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.20 2004/03/14 14:47:33 momjian Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -118,7 +118,7 @@ ECPGinit(const struct connection * con, const char *connection_name, const int l
118118
}
119119

120120
#ifdef ENABLE_THREAD_SAFETY
121-
static void *ecpg_sqlca_key_destructor(void *arg)
121+
static void ecpg_sqlca_key_destructor(void *arg)
122122
{
123123
if( arg != NULL )
124124
free(arg); /* sqlca structure allocated in ECPGget_sqlca */

0 commit comments

Comments
 (0)