]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-eol-20070629
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:37:39 +0000 (05:37 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:37:39 +0000 (05:37 +0000)
fix end of line for memdump output

src/WINNT/afsd/smb3.c

index 57c4332910e108c02990914dd649ced6a09238cf..6a360588a84bd1d51ae2c584c3a9436d6814612f 100644 (file)
@@ -142,7 +142,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);
@@ -167,7 +167,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);
     }   
 }