summaryrefslogtreecommitdiff
path: root/src/libwebvi
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2012-06-30 20:05:11 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2012-07-02 21:17:01 +0300
commit50cb06a1ea355824c49398fe655f9d4296639502 (patch)
tree248f3f0b61f3ecb043924b31b790cf3cbc302949 /src/libwebvi
parent530c8cf3720227cee10fd3224783c321df1b5c6f (diff)
downloadvdr-plugin-webvideo-50cb06a1ea355824c49398fe655f9d4296639502.tar.gz
vdr-plugin-webvideo-50cb06a1ea355824c49398fe655f9d4296639502.tar.bz2
Spelling fixes.
Diffstat (limited to 'src/libwebvi')
-rw-r--r--src/libwebvi/libwebvi.h8
-rw-r--r--src/libwebvi/webvi/asyncurl.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libwebvi/libwebvi.h b/src/libwebvi/libwebvi.h
index f8bd818..3e5b853 100644
--- a/src/libwebvi/libwebvi.h
+++ b/src/libwebvi/libwebvi.h
@@ -215,7 +215,7 @@ WebviResult webvi_delete_handle(WebviCtx ctx, WebviHandle h);
*
* Set the callback function that shall be called when data is read
* from the network. The fourth parameter is a pointer to the callback
- * funtion
+ * function
*
* ssize_t (*webvi_callback)(const char *, size_t, void *).
*
@@ -224,7 +224,7 @@ WebviResult webvi_delete_handle(WebviCtx ctx, WebviHandle h);
* incoming data block in bytes, and the third parameter is a pointer
* to user's data structure can be set by WEBVIOPT_WRITEDATA option.
*
- * The callback funtion should return the number of bytes is
+ * The callback function should return the number of bytes is
* processed. If this differs from the size of the incoming data
* block, it indicates that an error occurred and the transfer will be
* aborted.
@@ -241,7 +241,7 @@ WebviResult webvi_delete_handle(WebviCtx ctx, WebviHandle h);
*
* Set the callback function that shall be called when data is to be
* send to network. The fourth parameter is a pointer to the callback
- * funtion
+ * function
*
* ssize_t (*webvi_callback)(const char *, size_t, void *)
*
@@ -314,7 +314,7 @@ WebviResult webvi_fdset(WebviCtx ctx, fd_set *readfd, fd_set *writefd, fd_set *e
*
* activefd is a file descriptor that was returned by an earlier call
* to webvi_fdset and has been signalled to be ready by select() or
- * similar funtion. ev_bitmask should be OR'ed combination of
+ * similar function. ev_bitmask should be OR'ed combination of
* WEBVI_SELECT_READ, WEBVI_SELECT_WRITE, WEBVI_SELECT_EXCEPTION to
* indicate that activefd has been signalled to be ready for reading,
* writing or being in exception state, respectively. ev_bitmask can
diff --git a/src/libwebvi/webvi/asyncurl.py b/src/libwebvi/webvi/asyncurl.py
index 36df9a5..a367bc5 100644
--- a/src/libwebvi/webvi/asyncurl.py
+++ b/src/libwebvi/webvi/asyncurl.py
@@ -351,7 +351,7 @@ class async_curl_dispatcher:
def handle_completed(self, err, errmsg):
"""Called when the download has finished. err is a numeric
- error code (or 0 if the download was successfull) and errmsg
+ error code (or 0 if the download was successful) and errmsg
is a curl error message as a string."""
# It seems that a reference to self.write_to_buf forbids
# garbage collection from deleting this object. unsetopt() or