changeset 410:7ea78f4a4d23

Rename input handling main function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 24 May 2012 06:01:38 +0300
parents 4556174b5be8
children 664b94a58dbe
files nnchat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);