summaryrefslogtreecommitdiff
path: root/src/lib/openjpip
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
commit5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd (patch)
treeb11a992a90fc82a23357ef9588aead07862b29a0 /src/lib/openjpip
parent2be20ce7d9996e960d79f3ad6ec439a9895849ed (diff)
Spelling fixes (patch by ka7, #890, rebased on top of master)
Diffstat (limited to 'src/lib/openjpip')
-rw-r--r--src/lib/openjpip/auxtrans_manager.h2
-rw-r--r--src/lib/openjpip/cache_manager.h4
-rw-r--r--src/lib/openjpip/jpip_parser.c2
-rw-r--r--src/lib/openjpip/openjpip.h4
-rw-r--r--src/lib/openjpip/target_manager.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/openjpip/auxtrans_manager.h b/src/lib/openjpip/auxtrans_manager.h
index ac553e12..7a453170 100644
--- a/src/lib/openjpip/auxtrans_manager.h
+++ b/src/lib/openjpip/auxtrans_manager.h
@@ -47,7 +47,7 @@ typedef struct auxtrans_param {
*
* @param[in] tcp_auxport opening tcp auxiliary port ( 0 not to open, valid No. 49152-65535)
* @param[in] udp_auxport opening udp auxiliary port ( 0 not to open, valid No. 49152-65535)
- * @return intialized transport parameters
+ * @return initialized transport parameters
*/
auxtrans_param_t init_aux_transport(int tcp_auxport, int udp_auxport);
diff --git a/src/lib/openjpip/cache_manager.h b/src/lib/openjpip/cache_manager.h
index 64358326..61e5e02a 100644
--- a/src/lib/openjpip/cache_manager.h
+++ b/src/lib/openjpip/cache_manager.h
@@ -119,7 +119,7 @@ cache_param_t * search_cacheBycsn(int csn, cachelist_param_t *cachelist);
/**
* search a cache by cid
*
- * @param[in] cid channel identifer
+ * @param[in] cid channel identifier
* @param[in] cachelist cache list pointer
* @return found cache pointer
*/
@@ -130,7 +130,7 @@ cache_param_t * search_cacheBycid(const char cid[],
/**
* search a cache by tid
*
- * @param[in] tid target identifer
+ * @param[in] tid target identifier
* @param[in] cachelist cache list pointer
* @return found cache pointer
*/
diff --git a/src/lib/openjpip/jpip_parser.c b/src/lib/openjpip/jpip_parser.c
index e921e92b..6d8f9500 100644
--- a/src/lib/openjpip/jpip_parser.c
+++ b/src/lib/openjpip/jpip_parser.c
@@ -360,7 +360,7 @@ void enqueue_imagedata(query_param_t query_param, msgqueue_param_t *msgqueue)
if (msgqueue->cachemodel->jppstream) {
enqueue_tileheader((int)tile_id, msgqueue);
- /* FIXME: The following code is suspicious it implicitely cast an unsigned int to int, which truncates values */
+ /* FIXME: The following code is suspicious it implicitly cast an unsigned int to int, which truncates values */
xmin = tile_Xrange.minvalue >= (Byte4_t)(imgreg.xosiz + imgreg.ox) ? 0 :
imgreg.xosiz + imgreg.ox - (int)tile_Xrange.minvalue;
xmax = tile_Xrange.maxvalue <= (Byte4_t)(imgreg.xosiz + imgreg.ox + imgreg.sx)
diff --git a/src/lib/openjpip/openjpip.h b/src/lib/openjpip/openjpip.h
index 11a1f272..5913bd0f 100644
--- a/src/lib/openjpip/openjpip.h
+++ b/src/lib/openjpip/openjpip.h
@@ -86,7 +86,7 @@ typedef struct QR {
*
* @param[in] tcp_auxport opening tcp auxiliary port ( 0 not to open, valid No. 49152-65535)
* @param[in] udp_auxport opening udp auxiliary port ( 0 not to open, valid No. 49152-65535)
- * @return intialized server record pointer
+ * @return initialized server record pointer
*/
server_record_t * init_JPIPserver(int tcp_auxport, int udp_auxport);
@@ -170,7 +170,7 @@ typedef SOCKET client_t;
* Initialize the image decoding server
*
* @param[in] port opening tcp port (valid No. 49152-65535)
- * @return intialized decoding server record pointer
+ * @return initialized decoding server record pointer
*/
OPJ_API dec_server_record_t * OPJ_CALLCONV init_dec_server(int port);
diff --git a/src/lib/openjpip/target_manager.h b/src/lib/openjpip/target_manager.h
index c8a13de8..9840d9b9 100644
--- a/src/lib/openjpip/target_manager.h
+++ b/src/lib/openjpip/target_manager.h
@@ -39,7 +39,7 @@
/** target parameters*/
typedef struct target_param {
char tid[MAX_LENOFTID]; /**< target identifier*/
- char *targetname; /**< local file path or URL ( URL is suported only with SERVER mode)*/
+ char *targetname; /**< local file path or URL ( URL is supported only with SERVER mode)*/
int fd; /**< file descriptor*/
#ifdef SERVER
char *tmpfname; /**< temporal file name to download a remote target file*/