diff options
author | Uri Lublin <uril@redhat.com> | 2014-03-24 19:02:42 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2014-12-30 17:16:53 +0200 |
commit | eb276f4b45f063273373d2379fae5d66c3a60ec5 (patch) | |
tree | 2d8a584235671dea70e32334d306dbcb915b6ec3 /vdagent | |
parent | 6c070843cb00635bc8bab5fd98b8fefb597e7557 (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"
Diffstat (limited to 'vdagent')
-rw-r--r-- | vdagent/file_xfer.cpp | 2 |
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; } |