commit - 14b44cc91a7f20f32e43779d44728a72b19f2eac
commit + ffb578a06e0f9fd37299bd27c97c29e1c160d9e4
blob - 7f2c423f7dd3374bfb3f39717ab0a934cb87afff
blob + 0d2a10dc5a6a7ff2157c483c20efa9fbadbbd134
--- msearchd/Makefile
+++ msearchd/Makefile
#DEBUG = -O0 -g -DDEBUG
-CDIAGFLAGS = -Wall -Wuninitialized -Wshadow -Wunused
+CDIAGFLAGS = -Wall -Wuninitialized -Wunused
CDIAGFLAGS += -Wmissing-prototypes -Wstrict-prototypes
CDIAGFLAGS += -Werror
+WARNINGS = Yes
+
CPPFLAGS += -I/usr/local/include
LIBSQLITE3 = /usr/local/lib/libsqlite3.a
blob - 3bbdd2ef4100cc25758145abab1b4ef992b0a3d9
blob + 41c476b475546ae6f6922c86298dbe79f15fcaa2
--- msearchd/msearchd.c
+++ msearchd/msearchd.c
static pid_t
start_child(const char *argv0, const char *root, const char *user,
- const char *db, int debug, int verobes, int fd)
+ const char *db, int debug, int verbose, int fd)
{
const char *argv[11];
int argc = 0;
blob - 76e24c6e9f67c887a0df611aeaab0dbf8427ebc6
blob + caf98b34b3e89133e39a677d5cc66e296591038b
--- msearchd/server.c
+++ msearchd/server.c
void server_close_db(struct env *);
__dead void server_shutdown(struct env *);
int server_reply(struct client *, int, const char *);
+int server_urldecode(char *);
char *server_getquery(struct client *);
void
server_urldecode(char *s)
{
unsigned int x;
- size_t n;
char *q, code[3] = {0};
q = s;