1 |
/* |
/* |
2 |
* Boa, an http server |
* Hydra, an http server |
3 |
* Copyright (C) 1995 Paul Phillips <paulp@go2net.com> |
* Copyright (C) 1995 Paul Phillips <paulp@go2net.com> |
4 |
* Some changes Copyright (C) 1999 Jon Nelson <jnelson@boa.org> |
* Some changes Copyright (C) 1999 Jon Nelson <jnelson@boa.org> |
5 |
|
* |
6 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
8 |
* the Free Software Foundation; either version 1, or (at your option) |
* the Free Software Foundation; either version 1, or (at your option) |
37 |
* Returns: -1 for error, otherwise how much is stored |
* Returns: -1 for error, otherwise how much is stored |
38 |
*/ |
*/ |
39 |
|
|
40 |
int req_write(request * req, char *msg) |
int req_write(request * req, const char *msg) |
41 |
{ |
{ |
42 |
int msg_len; |
int msg_len; |
43 |
|
|