# HG changeset patch # User Matti Hamalainen # Date 1337828498 -10800 # Node ID 7ea78f4a4d23f78c1fec52a77615c8cc8937961d # Parent 4556174b5be80d9b6d848d615406536497b99d6e Rename input handling main function. diff -r 4556174b5be8 -r 7ea78f4a4d23 nnchat.c --- a/nnchat.c Thu May 24 05:58:15 2012 +0300 +++ b/nnchat.c Thu May 24 06:01:38 2012 +0300 @@ -888,7 +888,7 @@ } -int handleUserInput(nn_conn_t *conn, char *buf, size_t bufLen) +int nn_handle_input(nn_conn_t *conn, char *buf, size_t bufLen) { char *tmpStr, tmpBuf[4096]; BOOL result; @@ -1883,7 +1883,7 @@ if (histMax < SET_MAX_HISTORY) histMax++; nn_editbuf_insert(editBuf, editBuf->len, 0); - result = handleUserInput(conn, editBuf->data, editBuf->len); + result = nn_handle_input(conn, editBuf->data, editBuf->len); nn_editbuf_clear(editBuf);