Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Fux typo detected by spell checker

Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
  • Loading branch information
gichan-jang committed Jul 1, 2024
1 parent ee9621e commit 586310c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
extend-exclude = []

[default.extend-words]
mosquitto = "mosquitto"
2 changes: 1 addition & 1 deletion packaging/nnstreamer-edge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ BuildRequires: lcov

%description
nnstreamer-edge provides remote source nodes for NNStreamer pipelines without GStreamer dependencies.
It also contains communicaton library for sharing server node information & status.
It also contains communication library for sharing server node information & status.

%package devel
Summary: development package for nnstreamer-edge
Expand Down
2 changes: 1 addition & 1 deletion src/libnnstreamer-edge/nnstreamer-edge-aitt.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ nns_edge_aitt_set_option (nns_edge_aitt_h handle, const char *key,
0 == strcasecmp (value, "TCP-SECURE")) {
ah->protocol = AITT_TYPE_TCP_SECURE;
} else {
nns_edge_logw ("Invalid AITT procotol. Please check the value: %s",
nns_edge_logw ("Invalid AITT protocol. Please check the value: %s",
value);
}
} else {
Expand Down
6 changes: 3 additions & 3 deletions src/libnnstreamer-edge/nnstreamer-edge-data.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define NNS_EDGE_DATA_KEY (0xeddaedda)

/**
* @brief Internal data structure for the header of the serialzied edge data.
* @brief Internal data structure for the header of the serialized edge data.
*/
typedef struct
{
Expand Down Expand Up @@ -104,7 +104,7 @@ nns_edge_data_destroy (nns_edge_data_h data_h)
}

/**
* @brief Internal wrapper function of the nns_edge_data_destory() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
* @brief Internal wrapper function of the nns_edge_data_destroy() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
*/
void
nns_edge_data_release_handle (void *data)
Expand All @@ -113,7 +113,7 @@ nns_edge_data_release_handle (void *data)

if (data_h) {
if (NNS_EDGE_ERROR_NONE != nns_edge_data_destroy (data_h))
nns_edge_logw ("Failed to destory the nns-edge data handle.");
nns_edge_logw ("Failed to destroy the nns-edge data handle.");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/libnnstreamer-edge/nnstreamer-edge-data.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" {
#endif /* __cplusplus */

/**
* @brief Internal wrapper function of the nns_edge_data_destory() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
* @brief Internal wrapper function of the nns_edge_data_destroy() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
*/
void nns_edge_data_release_handle (void *data);

Expand Down
8 changes: 4 additions & 4 deletions src/libnnstreamer-edge/nnstreamer-edge-internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ _nns_edge_create_message_thread (nns_edge_handle_s * eh, nns_edge_conn_s * conn,
return NNS_EDGE_ERROR_OUT_OF_MEMORY;
}

/** Create message receving thread */
/** Create message receiving thread */
thread_data->eh = eh;
thread_data->conn = conn;
thread_data->client_id = client_id;
Expand Down Expand Up @@ -1397,7 +1397,7 @@ nns_edge_start (nns_edge_h edge_h)
SAFE_FREE (msg);

if (NNS_EDGE_ERROR_NONE != ret) {
nns_edge_loge ("Failed to publish the meesage to broker.");
nns_edge_loge ("Failed to publish the message to broker.");
goto done;
}
} else {
Expand Down Expand Up @@ -1600,7 +1600,7 @@ _mqtt_hybrid_direct_connection (nns_edge_handle_s * eh)
}

/**
* @brief Start subsciption to MQTT message
* @brief Start subscription to MQTT message
*/
static int
_nns_edge_start_mqtt_sub (nns_edge_handle_s * eh)
Expand Down Expand Up @@ -1798,7 +1798,7 @@ nns_edge_is_connected (nns_edge_h edge_h)
}

/**
* @brief Send data to desination (broker or connected node), asynchronously.
* @brief Send data to destination (broker or connected node), asynchronously.
*/
int
nns_edge_send (nns_edge_h edge_h, nns_edge_data_h data_h)
Expand Down
2 changes: 1 addition & 1 deletion src/libnnstreamer-edge/nnstreamer-edge-mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int nns_edge_mqtt_subscribe (nns_edge_broker_h broker_h);
bool nns_edge_mqtt_is_connected (nns_edge_broker_h broker_h);

/**
* @brief Get message from mqtt broker with within timeout. (0 for inifinite timeout)
* @brief Get message from mqtt broker with within timeout. (0 for infinite timeout)
*/
int nns_edge_mqtt_get_message (nns_edge_broker_h broker_h, void **msg, nns_size_t *msg_len, unsigned int timeout);

Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_nnstreamer-edge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ TEST(edgeData, deserializeInvalidParam04_n)


/**
* @brief Serialzie and deserialize the edge-data.
* @brief Serialize and deserialize the edge-data.
*/
TEST(edgeDataSerialize, normal)
{
Expand Down

0 comments on commit 586310c

Please sign in to comment.