comparison src/c/request.c @ 1152:e6eabf0c5ccc

Prototype memmem()
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 16:54:13 -0500
parents 15767031950c
children 420e38516dc2
comparison
equal deleted inserted replaced
1151:de48dc2c9ee8 1152:e6eabf0c5ccc
12 #include <mhash.h> 12 #include <mhash.h>
13 13
14 #include "urweb.h" 14 #include "urweb.h"
15 15
16 #define MAX_RETRIES 5 16 #define MAX_RETRIES 5
17
18 void *memmem(const void *b1, size_t len1, const void *b2, size_t len2);
17 19
18 static int try_rollback(uw_context ctx, void *logger_data, uw_logger log_error) { 20 static int try_rollback(uw_context ctx, void *logger_data, uw_logger log_error) {
19 int r = uw_rollback(ctx); 21 int r = uw_rollback(ctx);
20 22
21 if (r) { 23 if (r) {