]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-eol-20070629
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:38:52 +0000 (05:38 +0000)
committerJeffrey 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

index 6a21311dac16f0d4e41adb15e36f95f19f032230..059246aadb7e0a4bc807e86016716ce7620b2a02 100644 (file)
@@ -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);
     }   
 }