Mercurial > hg > nnchat
changeset 402:563a70e8a303
Oops, these functions were moved/renamed and were left out from a previous commit. :|
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 May 2012 05:03:58 +0300 |
parents | 3f20ac9a9e1d |
children | 7bec02f382fb |
files | nnchat.c |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Thu May 24 05:02:27 2012 +0300 +++ b/nnchat.c Thu May 24 05:03:58 2012 +0300 @@ -892,16 +892,11 @@ return 1; } -char * trimLeft(char *buf) + { - while (*buf != 0 && th_isspace(*buf)) buf++; - return buf; -} + -int compareUsername(const void *s1, const void *s2) { - return th_strcasecmp((char *) s1, (char *) s2); -} int handleUserInput(nn_conn_t *conn, char *buf, size_t bufLen) {