summaryrefslogtreecommitdiff
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
parent530c8cf3720227cee10fd3224783c321df1b5c6f (diff)
downloadvdr-plugin-webvideo-50cb06a1ea355824c49398fe655f9d4296639502.tar.gz
vdr-plugin-webvideo-50cb06a1ea355824c49398fe655f9d4296639502.tar.bz2
Spelling fixes.
-rw-r--r--src/libwebvi/libwebvi.h8
-rw-r--r--src/libwebvi/webvi/asyncurl.py2
-rw-r--r--src/vdr-plugin/request.h2
-rw-r--r--src/webvicli/webvicli/client.py2
4 files changed, 7 insertions, 7 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
diff --git a/src/vdr-plugin/request.h b/src/vdr-plugin/request.h
index 8f8eadb..4a37741 100644
--- a/src/vdr-plugin/request.h
+++ b/src/vdr-plugin/request.h
@@ -103,7 +103,7 @@ public:
virtual eRequestType GetType() { return REQT_MENU; }
- // Return the content of the reponse message
+ // Return the content of the response message
virtual cString GetResponse();
void SetTimer(cWebviTimer *t) { timer = t; }
diff --git a/src/webvicli/webvicli/client.py b/src/webvicli/webvicli/client.py
index 0d42102..92bbc69 100644
--- a/src/webvicli/webvicli/client.py
+++ b/src/webvicli/webvicli/client.py
@@ -619,7 +619,7 @@ class WVShell(cmd.Cmd):
return cmd.Cmd.onecmd(self, c)
except Exception:
import traceback
- print 'Exception occured while handling command "' + c + '"'
+ print 'Exception occurred while handling command "' + c + '"'
print traceback.format_exc()
return False