summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSzymon Janc <szymon@janc.net.pl>2012-06-13 22:49:23 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-06-14 14:31:49 +0300
commit7d8304e809412a9f8105c16101f34a93476bf7a3 (patch)
tree91a73ca00a82a877b329d4fa50ab3e429e6a0a42 /src
parent9cbfeb7de037b974f0c52779d8ba8f898ce1bfcd (diff)
downloadobexd-7d8304e809412a9f8105c16101f34a93476bf7a3.tar.gz
Fix some common spelling errors
Fix spelling errors reported by codespell.
Diffstat (limited to 'src')
-rw-r--r--src/manager.c4
-rw-r--r--src/obex.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/manager.c b/src/manager.c
index bd19288..1d48224 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -411,14 +411,14 @@ static void emit_transfer_completed(struct obex_session *os, gboolean success)
}
static void emit_transfer_progress(struct obex_session *os, uint32_t total,
- uint32_t transfered)
+ uint32_t transferred)
{
char *path = g_strdup_printf("/transfer%u", os->id);
g_dbus_emit_signal(connection, path,
TRANSFER_INTERFACE, "Progress",
DBUS_TYPE_INT32, &total,
- DBUS_TYPE_INT32, &transfered,
+ DBUS_TYPE_INT32, &transferred,
DBUS_TYPE_INVALID);
g_free(path);
diff --git a/src/obex.c b/src/obex.c
index dfcbab0..9044961 100644
--- a/src/obex.c
+++ b/src/obex.c
@@ -656,7 +656,7 @@ static gboolean recv_data(const void *buf, gsize size, gpointer user_data)
if (os->aborted)
return FALSE;
- /* workaround: client didn't send the object lenght */
+ /* workaround: client didn't send the object length */
if (os->size == OBJECT_SIZE_DELETE)
os->size = OBJECT_SIZE_UNKNOWN;