Don't use // as comments, it breaks some C compilers

Also, really remove the dead code.
This commit is contained in:
Marcelo Roberto Jimenez
2012-03-16 11:51:10 -03:00
parent cb07623dde
commit e0444b26e6
7 changed files with 20 additions and 48 deletions

View File

@@ -276,22 +276,6 @@ int token_cmp(
/*! [in] Second token object used for the comparison. */
token *in2);
/*!
* \brief Parses a string representing a host and port (e.g. "127.127.0.1:80"
* or "localhost") and fills out a hostport_type struct with internet address
* and a token representing the full host and port.
*
* Uses gethostbyname.
*/
int parse_hostport(
/*! [in] String of characters representing host and port. */
const char *in,
/*! [in] Sets a maximum limit. */
/*size_t max,*/
/*! [out] Output parameter where the host and port are represented as
* an internet address. */
hostport_type *out);
/*!
* \brief Removes http escaped characters such as: "%20" and replaces them with
* their character representation. i.e. "hello%20foo" -> "hello foo".