Browse Source

Fix comment style // -> /* */

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent
commit
7a496b610b
  1. 2
      include/lighttpd/settings.h
  2. 4
      include/lighttpd/sys-socket.h
  3. 2
      include/lighttpd/virtualrequest.h
  4. 6
      src/config_parser.rl
  5. 2
      src/profiler.c
  6. 2
      src/sys-socket.c

2
include/lighttpd/settings.h

@ -225,7 +225,7 @@
#if __GNUC__
#define INLINE static inline
// # define INLINE extern inline
/* # define INLINE extern inline */
#else
# define INLINE static
#endif

4
include/lighttpd/sys-socket.h

@ -12,8 +12,8 @@
#endif /* FD_SETSIZE */
#include <winsock2.h>
#include <ws2tcpip.h>
//#include <wspiapi.h>
//#define HAVE_IPV6 -- not until we've resolved the inet_ntop issue.
/* #include <wspiapi.h> */
/* #define HAVE_IPV6 -- not until we've resolved the inet_ntop issue. */
#define ECONNRESET WSAECONNRESET
#define EINPROGRESS WSAEINPROGRESS

2
include/lighttpd/virtualrequest.h

@ -27,7 +27,7 @@ typedef enum {
VRS_WRITE_CONTENT,
/* request done */
// VRS_END,
/* VRS_END, */
VRS_ERROR
} vrequest_state;

6
src/config_parser.rl

@ -20,7 +20,7 @@
access ctx->;
prepush {
//_printf("current stacksize: %d, top: %d\n", ctx->stacksize, ctx->top);
/* _printf("current stacksize: %d, top: %d\n", ctx->stacksize, ctx->top); */
/* increase stacksize if necessary */
if (ctx->stacksize == ctx->top)
{
@ -167,7 +167,7 @@
}
action keyvalue_start {
//fpc--;
/* fpc--; */
_printf("keyvalue start in line %zd\n", ctx->line);
fcall key_value_scanner;
}
@ -189,7 +189,7 @@
/* push list on the stack */
g_queue_push_head(ctx->option_stack, l);
//fpc--;
/* fpc--; */
fret;
}

2
src/profiler.c

@ -36,7 +36,7 @@ static void profiler_hashtable_init() {
static guint profiler_hash_addr(gpointer addr) {
guint h = (gsize) addr;
h = (h >> 3) * 2654435761; /* ~ golden ratio of 2^32, shift 3 because of 8 byte boundary alignment (use 2 for 4 byte boundary) */
//printf("hashing addr 0x%zx: %u ([%u])\n", (gsize)addr, h, h % PROFILER_HASHTABLE_SIZE);
/* printf("hashing addr 0x%zx: %u ([%u])\n", (gsize)addr, h, h % PROFILER_HASHTABLE_SIZE); */
return h % PROFILER_HASHTABLE_SIZE;
}

2
src/sys-socket.c

@ -49,7 +49,7 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt)
int ipv6 = af == AF_INET6;
// DebugBreak();
/* DebugBreak(); */
if ( ipv6 )
{

Loading…
Cancel
Save