diff options
| author | Karel Klic <kklic@redhat.com> | 2009-12-07 12:28:16 +0100 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2009-12-07 12:28:16 +0100 |
| commit | 9c20953d95a20d031896245f98a62f1e89d29c33 (patch) | |
| tree | 3f808a5be51cbe59e8c5947aeef743575c8cb6e4 /lib/Plugins/FileTransfer.cpp | |
| parent | c7341fd8519a89af558b341f316931d851a747fc (diff) | |
| parent | fb72ac689ca4832fca215edc942ae01592ecfff8 (diff) | |
| download | abrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.gz abrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.xz abrt-9c20953d95a20d031896245f98a62f1e89d29c33.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/FileTransfer.cpp')
| -rw-r--r-- | lib/Plugins/FileTransfer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/FileTransfer.cpp b/lib/Plugins/FileTransfer.cpp index 868f54dd..8fff3a93 100644 --- a/lib/Plugins/FileTransfer.cpp +++ b/lib/Plugins/FileTransfer.cpp @@ -79,12 +79,12 @@ void CFileTransfer::SendFile(const char *pURL, const char *pFilename) f = fopen(pFilename, "r"); if (!f) { - throw CABRTException(EXCEP_PLUGIN, ssprintf("Can't open archive file '%s'", pFilename)); + throw CABRTException(EXCEP_PLUGIN, "Can't open archive file '%s'", pFilename); } if (fstat(fileno(f), &buf) == -1) { fclose(f); - throw CABRTException(EXCEP_PLUGIN, ssprintf("Can't stat archive file '%s'", pFilename)); + throw CABRTException(EXCEP_PLUGIN, "Can't stat archive file '%s'", pFilename); } curl = curl_easy_init(); if (!curl) @@ -282,7 +282,7 @@ void CFileTransfer::CreateArchive(const char *pArchiveName, const char *pDir) } else { - throw CABRTException(EXCEP_PLUGIN, "Unknown/unsupported archive type " + m_sArchiveType); + throw CABRTException(EXCEP_PLUGIN, "Unknown/unsupported archive type %s", m_sArchiveType.c_str()); } } |
