[med-svn] [conquest-dicom-server] 01/14: Patch dgate.cpp to provide arg to printf %s

Pablo Lorenzzoni spectra at moszumanska.debian.org
Tue Mar 11 17:55:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

spectra pushed a commit to branch master
in repository conquest-dicom-server.

commit 82634b5c0d28a88e49c2d27f296fbc38686a0d1a
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Wed Feb 5 16:37:51 2014 -0200

    Patch dgate.cpp to provide arg to printf %s
---
 debian/patches/0012-Fix-cppcheck-bug-5.5.patch | 22 ++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0012-Fix-cppcheck-bug-5.5.patch b/debian/patches/0012-Fix-cppcheck-bug-5.5.patch
new file mode 100644
index 0000000..59dd429
--- /dev/null
+++ b/debian/patches/0012-Fix-cppcheck-bug-5.5.patch
@@ -0,0 +1,22 @@
+From: Pablo Lorenzzoni <spectra at debian.org>
+Date: Wed, 5 Feb 2014 16:37:14 -0200
+Subject: Fix cppcheck bug #5.5
+
+[dgate.cpp:6504]: (error) printf format string has 1 parameters but only 0 are given
+---
+ dgate.cpp |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dgate.cpp b/dgate.cpp
+index 2dce88e..ff462b2 100644
+--- a/dgate.cpp
++++ b/dgate.cpp
+@@ -6503,7 +6503,7 @@ extern "C"
+         DICOMDataObject *P = MakeCopy(O);
+ 	int rc = SaveToDisk(DB, P, rFilename, TRUE, &PDU, 0, TRUE);
+ 	if (!rc)
+-	{ OperatorConsole.printf("***[lua addimage] Error entering object into server%s\n");
++	{ OperatorConsole.printf("***[lua addimage] Error entering object into server%s\n", DataHost);
+ 	}
+ 	else
+         { if (rc==2) OperatorConsole.printf("Lua script rewritten file: %s\n", rFilename);
diff --git a/debian/patches/series b/debian/patches/series
index 8966b77..9ebc147 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0009-Fix-cppcheck-bug-1.patch
 0010-Fix-cppcheck-bug-3-and-others-in-same-function.patch
 0011-Fix-cppcheck-bug-4.patch
+0012-Fix-cppcheck-bug-5.5.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/conquest-dicom-server.git



More information about the debian-med-commit mailing list