diff --git a/obexd/client/session.c b/obexd/client/session.c
index 2770b92..fa9bd7d 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
if (!obc_transfer_start(p->transfer, p->session->obex, err))
return -1;
- DBG("Tranfer(%p) started", p->transfer);
+ DBG("Transfer(%p) started", p->transfer);
p->session->p = p;
return 0;
}
diff --git a/obexd/plugins/irmc.c b/obexd/plugins/irmc.c
index cab97b6..cfd8a45 100644
--- a/obexd/plugins/irmc.c
+++ b/obexd/plugins/irmc.c
static int irmc_open_cal(struct irmc_session *irmc)
{
- /* no suport yet. Just return an empty buffer. cal.vcs */
+ /* no support yet. Just return an empty buffer. cal.vcs */
DBG("unsupported, returning empty buffer");
if (!irmc->buffer)
static int irmc_open_nt(struct irmc_session *irmc)
{
- /* no suport yet. Just return an empty buffer. nt.vnt */
+ /* no support yet. Just return an empty buffer. nt.vnt */
DBG("unsupported, returning empty buffer");
if (!irmc->buffer)
diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c
index 3597465..b9feeb3 100644
--- a/obexd/plugins/mas.c
+++ b/obexd/plugins/mas.c
DBG("");
- /* TODO notifcation filter add */
+ /* TODO notification filter add */
mas->finished = TRUE;
*err = 0;
diff --git a/obexd/plugins/messages.h b/obexd/plugins/messages.h
index 535ec30..fe7d07f 100644
--- a/obexd/plugins/messages.h
+++ b/obexd/plugins/messages.h
* handle: Unique identifier to the message.
* value: Indicates the new value of the read status for a given message.
* Callback shall be called for every read status update request
- * recieved from MCE.
+ * received from MCE.
* user_data: User data if any to be sent.
*/
int messages_set_read(void *session, const char *handle, uint8_t value,
* handle: Unique identifier to the message.
* value: Indicates the new value of the delete status for a given message.
* Callback shall be called for every delete status update request
- * recieved from MCE.
+ * received from MCE.
* user_data: User data if any to be sent.
*/
int messages_set_delete(void *session, const char *handle, uint8_t value,
diff --git a/obexd/plugins/pcsuite.c b/obexd/plugins/pcsuite.c
index 1755ffb..0e83a11 100644
--- a/obexd/plugins/pcsuite.c
+++ b/obexd/plugins/pcsuite.c
if (obj->fd != -1) {
ret = write(obj->fd, buf, count);
- DBG("cmd = %s, WRITTING", obj->cmd);
+ DBG("cmd = %s, WRITING", obj->cmd);
if (ret < 0) {
error("backup: cmd = %s", obj->cmd);
diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c
index 4d0b705..0dce13f 100644
--- a/obexd/plugins/phonebook-dummy.c
+++ b/obexd/plugins/phonebook-dummy.c
char *filename, *folder;
/*
- * Main phonebook objects will be created dinamically based on the
+ * Main phonebook objects will be created dynamically based on the
* folder content. All vcards inside the given folder will be appended
* in the "virtual" main phonebook object.
*/
diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index 71a91c1..eb7a84f 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
#define TRACKER_RESOURCES_INTERFACE "org.freedesktop.Tracker1.Resources"
#define TRACKER_DEFAULT_CONTACT_ME "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#default-contact-me"
-#define AFFILATION_HOME "Home"
-#define AFFILATION_WORK "Work"
+#define AFFILIATION_HOME "Home"
+#define AFFILIATION_WORK "Work"
#define ADDR_FIELD_AMOUNT 7
#define PULL_QUERY_COL_AMOUNT 23
#define COUNT_QUERY_COL_AMOUNT 1
#define COL_ADDITIONAL_NAME 4
#define COL_NAME_PREFIX 5
#define COL_NAME_SUFFIX 6
-#define COL_ADDR_AFF 7 /* addresses from affilation */
+#define COL_ADDR_AFF 7 /* addresses from affiliation */
#define COL_BIRTH_DATE 8
#define COL_NICKNAME 9
#define COL_URL 10
#define COL_AFF_TYPE 15
#define COL_ORG_NAME 16
#define COL_ORG_DEPARTMENT 17
-#define COL_EMAIL_AFF 18 /* email's from affilation (work/home) */
+#define COL_EMAIL_AFF 18 /* email's from affiliation (work/home) */
#define COL_DATE 19
#define COL_SENT 20
#define COL_ANSWERED 21
reply[COL_ANSWERED]);
}
-static enum phonebook_number_type get_phone_type(const char *affilation)
+static enum phonebook_number_type get_phone_type(const char *affiliation)
{
- if (g_strcmp0(AFFILATION_HOME, affilation) == 0)
+ if (g_strcmp0(AFFILIATION_HOME, affiliation) == 0)
return TEL_TYPE_HOME;
- else if (g_strcmp0(AFFILATION_WORK, affilation) == 0)
+ else if (g_strcmp0(AFFILIATION_WORK, affiliation) == 0)
return TEL_TYPE_WORK;
return TEL_TYPE_OTHER;
add_phone_number(contact, number, TEL_TYPE_MOBILE);
else
/* if this is no fax/mobile phone, then adding phone number
- * type based on type of the affilation field */
+ * type based on type of the affiliation field
+ */
add_phone_number(contact, number, get_phone_type(aff_type));
failed:
char **aff_numbers;
int i;
- /* Filling phone numbers from contact's affilation */
+ /* Filling phone numbers from contact's affiliation */
aff_numbers = g_strsplit(reply[COL_PHONE_AFF], MAIN_DELIM, MAX_FIELDS);
if (aff_numbers)
g_strfreev(aff_numbers);
}
-static enum phonebook_field_type get_field_type(const char *affilation)
+static enum phonebook_field_type get_field_type(const char *affiliation)
{
- if (g_strcmp0(AFFILATION_HOME, affilation) == 0)
+ if (g_strcmp0(AFFILIATION_HOME, affiliation) == 0)
return FIELD_TYPE_HOME;
- else if (g_strcmp0(AFFILATION_WORK, affilation) == 0)
+ else if (g_strcmp0(AFFILIATION_WORK, affiliation) == 0)
return FIELD_TYPE_WORK;
return FIELD_TYPE_OTHER;
char **email_parts;
char *type, *email;
- /* Emails from affilation data, are represented as real email
- * string and affilation type - those strings are separated by
+ /* Emails from affiliation data, are represented as real email
+ * string and affiliation type - those strings are separated by
* SUB_DELIM string */
email_parts = g_strsplit(aff_email, SUB_DELIM, 2);
char **aff_emails;
int i;
- /* Emails from affilation */
+ /* Emails from affiliation */
aff_emails = g_strsplit(reply[COL_EMAIL_AFF], MAIN_DELIM, MAX_FIELDS);
if (aff_emails)
char **aff_addr;
int i;
- /* Addresses from affilation */
+ /* Addresses from affiliation */
aff_addr = g_strsplit(reply[COL_ADDR_AFF], MAIN_DELIM, MAX_FIELDS);
if (aff_addr)
char **aff_url;
int i;
- /* Addresses from affilation */
+ /* Addresses from affiliation */
aff_url = g_strsplit(reply[COL_URL], MAIN_DELIM, MAX_FIELDS);
if (aff_url)
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index 5a6fd9b..683dd4c 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
#define AGENT_INTERFACE OBEXD_SERVICE ".Agent1"
#define OBEX_ERROR_REJECT "org.bluez.obex.Error.Rejected"
-#define TIMEOUT 60*1000 /* Timeout for user response (miliseconds) */
+#define TIMEOUT 60*1000 /* Timeout for user response (milliseconds) */
struct agent {
char *bus_name;