#include "squid.h"
#include "AccessLogEntry.h"
+#include "client_side.h"
#include "comm/Connection.h"
#include "err_detail_type.h"
#include "errorpage.h"
#include "format/Token.h"
#include "HttpRequest.h"
#include "MemBuf.h"
+#include "protos.h"
#include "rfc1738.h"
#include "SquidTime.h"
#include "Store.h"
#include "ssl/ErrorDetail.h"
#endif
-
/// Convert a string to NULL pointer if it is ""
#define strOrNull(s) ((s)==NULL||(s)[0]=='\0'?NULL:(s))
break;
case '\r':
- *p++ = '\\';
- *p++ = 'r';
- str++;
+ *p = '\\';
+ ++p;
+ *p = 'r';
+ ++p;
+ ++str;
break;
case '\n':
- *p++ = '\\';
- *p++ = 'n';
- str++;
+ *p = '\\';
+ ++p;
+ *p = 'n';
+ ++p;
+ ++str;
break;
case '\t':
- *p++ = '\\';
- *p++ = 't';
- str++;
+ *p = '\\';
+ ++p;
+ *p = 't';
+ ++p;
+ ++str;
break;
default:
- *p++ = '\\';
- *p++ = *str;
- str++;
+ *p = '\\';
+ ++p;
+ *p = *str;
+ ++p;
+ ++str;
break;
}
}
- *p++ = '\0';
+ *p = '\0';
}
void
doint = 1;
break;
-
case LFT_TIME_LOCALTIME:
case LFT_TIME_GMT: {