Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/http.c @ 30709:d7325448badb
Some spelling fixes to code comments.
author | andrew.victor@mxit.com |
---|---|
date | Fri, 28 May 2010 21:08:49 +0000 |
parents | 259bbfb423d4 |
children | c80ac2d937b7 |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/http.c Tue May 25 21:08:25 2010 +0000 +++ b/libpurple/protocols/mxit/http.c Fri May 28 21:08:49 2010 +0000 @@ -118,7 +118,7 @@ /* read bytes from the socket */ len = read( session->fd, buf + buflen, sizeof( buf ) - buflen ); if ( len <= 0 ) { - /* connection has been terminated, or error occured */ + /* connection has been terminated, or error occurred */ goto done; } @@ -139,7 +139,7 @@ } buflen += len; - /* we have the header's end now skip over the http seperator to get the body offset */ + /* we have the header's end now skip over the http separator to get the body offset */ ch += strlen( HTTP_11_SEPERATOR ); *(ch - 1) = '\0'; body = ch; @@ -206,7 +206,7 @@ /* read bytes from the socket */ len = read( session->fd, &session->rx_dbuf[session->rx_i], session->rx_res ); if ( len <= 0 ) { - /* connection has been terminated, or error occured */ + /* connection has been terminated, or error occurred */ goto done; }