summaryrefslogtreecommitdiff
path: root/pjlib/src
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-01-31 08:52:09 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-01-31 08:52:09 +0000
commitb36d2739227522586612ee5ab3f7843795fd07bc (patch)
tree09c79f7db33c45a136cf673283cee4e456d91ba8 /pjlib/src
parent263ef89954cff2ab1e15e5aac643c0f69c520afd (diff)
Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src')
-rw-r--r--pjlib/src/pj/ioqueue_winnt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pjlib/src/pj/ioqueue_winnt.c b/pjlib/src/pj/ioqueue_winnt.c
index 948727c6..20378fe4 100644
--- a/pjlib/src/pj/ioqueue_winnt.c
+++ b/pjlib/src/pj/ioqueue_winnt.c
@@ -633,19 +633,19 @@ static void decrement_counter(pj_ioqueue_key_t *key)
/*
* Poll the I/O Completion Port, execute callback,
- * and return the key and bytes transfered of the last operation.
+ * and return the key and bytes transferred of the last operation.
*/
static pj_bool_t poll_iocp( HANDLE hIocp, DWORD dwTimeout,
pj_ssize_t *p_bytes, pj_ioqueue_key_t **p_key )
{
- DWORD dwBytesTransfered, dwKey;
+ DWORD dwBytesTransferred, dwKey;
generic_overlapped *pOv;
pj_ioqueue_key_t *key;
pj_ssize_t size_status = -1;
BOOL rcGetQueued;
/* Poll for completion status. */
- rcGetQueued = GetQueuedCompletionStatus(hIocp, &dwBytesTransfered,
+ rcGetQueued = GetQueuedCompletionStatus(hIocp, &dwBytesTransferred,
&dwKey, (OVERLAPPED**)&pOv,
dwTimeout);
@@ -659,7 +659,7 @@ static pj_bool_t poll_iocp( HANDLE hIocp, DWORD dwTimeout,
/* Event was dequeued for either successfull or failed I/O */
key = (pj_ioqueue_key_t*)dwKey;
- size_status = dwBytesTransfered;
+ size_status = dwBytesTransferred;
/* Report to caller regardless */
if (p_bytes)
@@ -1381,10 +1381,10 @@ PJ_DEF(pj_bool_t) pj_ioqueue_is_pending( pj_ioqueue_key_t *key,
pj_ioqueue_op_key_t *op_key )
{
BOOL rc;
- DWORD bytesTransfered;
+ DWORD bytesTransferred;
rc = GetOverlappedResult( key->hnd, (LPOVERLAPPED)op_key,
- &bytesTransfered, FALSE );
+ &bytesTransferred, FALSE );
if (rc == FALSE) {
return GetLastError()==ERROR_IO_INCOMPLETE;