Fix typo accepted/tizen/unified/20240711.011508 accepted/tizen/unified/dev/20240711.085740 accepted/tizen/unified/toolchain/20240812.131720 accepted/tizen/unified/x/20240711.084605 accepted/tizen/unified/x/asan/20240813.225956
authorgichan2-jang <gichan2.jang@samsung.com>
Mon, 1 Jul 2024 05:25:32 +0000 (14:25 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 2 Jul 2024 04:40:01 +0000 (13:40 +0900)
Fux typo detected by spell checker

Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
.github/workflows/_typos.toml
packaging/nnstreamer-edge.spec
src/libnnstreamer-edge/nnstreamer-edge-aitt.c
src/libnnstreamer-edge/nnstreamer-edge-data.c
src/libnnstreamer-edge/nnstreamer-edge-data.h
src/libnnstreamer-edge/nnstreamer-edge-internal.c
src/libnnstreamer-edge/nnstreamer-edge-mqtt.h
tests/unittest_nnstreamer-edge.cc

index 4cbdbc8ac237922295473b921c862f8d9d8b5d2b..df8fb17e40e0772da20d1cb754c30f281cd94e04 100644 (file)
@@ -2,3 +2,4 @@
 extend-exclude = []
 
 [default.extend-words]
+mosquitto = "mosquitto"
index 89729c3ddb7b982a40056c21e07420a729e5571e..27c92abea255a7d7cafb98acc642347ebb0cc603 100644 (file)
@@ -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
index 72e06f50048a4f0f557159037eead577d358e5e4..4e788c29c1f00e602c9832c76e8e856fdb3ebb09 100644 (file)
@@ -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 {
index 6abbe20683484bf7bbbc36a248c53cac2c941a8f..bebfa20666274514d77698e30f99ff3614dfe654 100644 (file)
@@ -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
 {
@@ -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)
@@ -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.");
   }
 }
 
index 7528c171fa6a3aea84dcddc7bb74bac9f52ca42c..523c90bc1b123a064d2bd3e8b0539cdeec79046d 100644 (file)
@@ -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);
 
index 7760dd2a90865eaed87745d6bfd63ff58d308a72..7a951b6c8aa00cdd01dfe2ac6db65ef03d22ae28 100644 (file)
@@ -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;
@@ -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 {
@@ -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)
@@ -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)
index d1de9d655dde6905fd2416b3769c588b00bd9287..c231f22874d6c92af988762916d8fb2e869e0dba 100644 (file)
@@ -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);
 
index 799078a741118cf25a5f522269bf85480ed5614b..1461b1ab671ff133e5d074f783aa7cbe369008d2 100644 (file)
@@ -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)
 {