Bug 875

Summary: missing escape char in "Bad escaped character" message
Product: Portable OpenSSH Reporter: Frank Mohr <f_mohr>
Component: sftpAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: trivial    
Priority: P2    
Version: -current   
Hardware: All   
OS: All   

Description Frank Mohr 2004-05-28 23:55:50 AEST
in sftp.c (line 372 in 3.8.1p1) the \ escapes the following %c format

current:
error("Bad escaped character '\%c'",

should be:
error("Bad escaped character '\\%c'",

At least the IBM compiler on AIX complains about that.
Comment 1 Damien Miller 2004-06-26 09:21:16 AEST
Fix applied - thanks!