Parent Directory | Revision Log | Patch
revision 1.2 by ganneff, Thu Sep 26 07:59:49 2002 UTC | revision 1.2.2.1 by ganneff, Wed Oct 16 08:18:52 2002 UTC | |
---|---|---|
# | Line 78 void log_addentry(int type, FTPSTATE *pe | Line 78 void log_addentry(int type, FTPSTATE *pe |
78 | } | } |
79 | ||
80 | outlen = strlen(outstring); | outlen = strlen(outstring); |
81 | ||
82 | for (i = 0 ; i < outlen-1 ; i++) | for (i = 0 ; i < outlen-1 ; i++) |
83 | if(outstring[i]=="\n" || outstring[i]=="\r") | if((outstring[i] == '\n') || (outstring[i] == '\r')) |
84 | outstring[i] = 20; | outstring[i] = 0x20; |
85 | ||
86 | writeresult = write(logoutfd, outstring, outlen); | writeresult = write(logoutfd, outstring, outlen); |
87 | ||
88 | if (writeresult != outlen) | if (writeresult != outlen) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |