From 456fd2f7a400117f3f4576b54cd95e69f5998d77 Mon Sep 17 00:00:00 2001 From: Alain Buteau <alain.buteau@synchrotron-soleil.fr> Date: Tue, 18 Oct 2011 17:16:50 +0000 Subject: [PATCH] MANTIS 20536 --- pom.xml | 2 +- src/Waveform.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 262404d..7ffb930 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ </parent> <groupId>fr.soleil.device</groupId> <artifactId>AcquireWaveformLecroy-${aol}-${mode}</artifactId> - <version>1.1.9</version> + <version>1.1.10-SNAPSHOT</version> <packaging>nar</packaging> <name>AcquireWaveformLecroy</name> <description>AcquireWaveformLecroy device</description> diff --git a/src/Waveform.cpp b/src/Waveform.cpp index b4c8d53..5764ddc 100644 --- a/src/Waveform.cpp +++ b/src/Waveform.cpp @@ -98,8 +98,8 @@ short OFFSET_STRUCT = 0; //- prepare the cmd to get the waveform data cmd = ch_name + ":WF? ALL"; cmdStr = new char[cmd.size()+1]; - strcpy(cmdStr, cmd.c_str()); - int length = strlen(cmdStr); + std::strcpy(cmdStr, cmd.c_str()); + int length = std::strlen(cmdStr); //- send the request SocketLecroy::get_instance( )->TCP_WriteDevice(cmdStr,length,true); -- GitLab