git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a8b1b61
)
DEVEL15-windows-eol-20070629
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:38:52 +0000 (
05:38
+0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:38:52 +0000 (
05:38
+0000)
fix end of line for memdump output
(cherry picked from commit
871297aa21fbc0de58e696de8bcd2344389bf240
)
src/WINNT/afsd/smb3.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/smb3.c
b/src/WINNT/afsd/smb3.c
index
6a21311
..
059246a
100644
(file)
--- a/
src/WINNT/afsd/smb3.c
+++ b/
src/WINNT/afsd/smb3.c
@@
-144,7
+144,7
@@
void OutputDebugHexDump(unsigned char * buffer, int len) {
if(!(i%16)) {
if(i) {
osi_Log0(smb_logp, osi_LogSaveString(smb_logp, buf));
- strcat(buf,"\n");
+ strcat(buf,"\r\n");
OutputDebugString(buf);
}
sprintf(buf,"%5x",i);
@@
-169,7
+169,7
@@
void OutputDebugHexDump(unsigned char * buffer, int len) {
}
if(i) {
osi_Log0(smb_logp, osi_LogSaveString(smb_logp, buf));
- strcat(buf,"\n");
+ strcat(buf,"\r\n");
OutputDebugString(buf);
}
}