aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar aldot <aldot@5e8054f6-fb45-0410-9d17-f830fe724320>2009-04-21 10:06:42 +0000
committerGravatar aldot <aldot@5e8054f6-fb45-0410-9d17-f830fe724320>2009-04-21 10:06:42 +0000
commit2d019596e7006953ecac5f44bcde7797bdb9c9b6 (patch)
tree6ab8280f7f41a599d193e48725c21936790737d8
parent9f2bd0731cd9d3e67a76ff67bce0337653722a4e (diff)
downloadndoutils-oracle-2d019596e7006953ecac5f44bcde7797bdb9c9b6.tar.gz
ndoutils-oracle-2d019596e7006953ecac5f44bcde7797bdb9c9b6.tar.bz2
- fix typo in quoting
git-svn-id: https://www.nagiosforge.org/svn/ndoutils_oracle/trunk/ndoutils-1.4b7-oracle@88 5e8054f6-fb45-0410-9d17-f830fe724320
-rw-r--r--src/dbhandlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbhandlers.c b/src/dbhandlers.c
index 5b4e27c..374ceb5 100644
--- a/src/dbhandlers.c
+++ b/src/dbhandlers.c
@@ -2045,7 +2045,7 @@ int ndo2db_handle_hostcheckdata(ndo2db_idi *idi){
free(buf1);
#else
/* Unique constraint, upon match with these columns an UPDATE takes place, an INSERT otherwise */
- if(asprintf(&buf1, "instance_id=%lu' AND host_object_id=%lu AND start_time=%s AND start_time_usec=%lu"
+ if(asprintf(&buf1, "instance_id=%lu AND host_object_id=%lu AND start_time=%s AND start_time_usec=%lu"
,idi->dbinfo.instance_id
,object_id
,ts[0]