# HG changeset patch # User Matti Hamalainen # Date 1337825038 -10800 # Node ID 563a70e8a30372a8398b922731676ae8c9d72950 # Parent 3f20ac9a9e1d40cd1b502aab9ae28e4d39b4be3d Oops, these functions were moved/renamed and were left out from a previous commit. :| diff -r 3f20ac9a9e1d -r 563a70e8a303 nnchat.c --- 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) {