[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dragonmtn-commits] Changes to snowwhite/signal.c
From: |
Mark Loeser |
Subject: |
[Dragonmtn-commits] Changes to snowwhite/signal.c |
Date: |
Sat, 16 Apr 2005 17:29:50 -0400 |
Index: snowwhite/signal.c
diff -u snowwhite/signal.c:1.1.1.1 snowwhite/signal.c:1.2
--- snowwhite/signal.c:1.1.1.1 Tue Apr 5 20:48:55 2005
+++ snowwhite/signal.c Sat Apr 16 21:29:44 2005
@@ -1,4 +1,4 @@
-/* $Id: signal.c,v 1.1.1.1 2005/04/05 20:48:55 Halcy0n Exp $ */
+/* $Id: signal.c,v 1.2 2005/04/16 21:29:44 Halcy0n Exp $ */
/*
* Copyright (c) 1996-1997 Chip Norkus
@@ -48,13 +48,6 @@
/* --------------------------------------------------------------------- */
-#ifdef USE_SQL
-/**
- * \todo XXX this, need to do SQL support but in an abstract manner
- */
-PGconn *dbConn = NULL;
-#endif
-
/**
* \brief My server name, and my server password
*/
@@ -176,14 +169,6 @@
timed_akill_queue(NULL);
unlink("services.pid");
- if (1 /*type == 0 || type == -1 || type > 2 */ ) {
-#ifdef USE_SQL
- if (dbConn != NULL)
- PQfinish(dbConn);
- dbConn = NULL;
-#endif
- }
-
if (type == 1) {
sSend("SQUIT %s :Services %s fall down go BOOM!", hostname,
VERSION_NUM);
@@ -245,4 +230,4 @@
/* --------------------------------------------------------------------- */
-/* $Id: signal.c,v 1.1.1.1 2005/04/05 20:48:55 Halcy0n Exp $ */
+/* $Id: signal.c,v 1.2 2005/04/16 21:29:44 Halcy0n Exp $ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dragonmtn-commits] Changes to snowwhite/signal.c,
Mark Loeser <=