summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2014-03-24 19:02:42 +0200
committerUri Lublin <uril@redhat.com>2014-12-30 17:16:53 +0200
commiteb276f4b45f063273373d2379fae5d66c3a60ec5 (patch)
tree2d8a584235671dea70e32334d306dbcb915b6ec3
parent6c070843cb00635bc8bab5fd98b8fefb597e7557 (diff)
Fix compiler warning (missing backslash in FileXfer::handle_start)
Visual Studio complains: vdagent\file_xfer.cpp(85) : warning C4129: '%' : unrecognized character escape sequence Replace "%s\%s" with "%s\\%s"
-rw-r--r--vdagent/file_xfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp
index 208303f..f8cd07f 100644
--- a/vdagent/file_xfer.cpp
+++ b/vdagent/file_xfer.cpp
@@ -76,7 +76,7 @@ void FileXfer::handle_start(VDAgentFileXferStartMessage* start,
}
if (strlen(file_path) + strlen(file_name) + 1 >= MAX_PATH) {
- vd_printf("error: file too long %s\%s", file_path, file_name);
+ vd_printf("error: file too long %s\\%s", file_path, file_name);
return;
}