diff options
-rw-r--r-- | src/common/convert.c | 2 | ||||
-rw-r--r-- | src/common/unzip.c | 16 | ||||
-rw-r--r-- | src/main/extractor_plugin_main.c | 6 | ||||
-rw-r--r-- | src/main/extractor_plugins.c | 4 | ||||
-rw-r--r-- | src/plugins/man_extractor.c | 2 |
5 files changed, 15 insertions, 15 deletions
diff --git a/src/common/convert.c b/src/common/convert.c index a8a6b9d..d7aa04c 100644 --- a/src/common/convert.c +++ b/src/common/convert.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * @param charset input character set | 32 | * @param charset input character set |
33 | * @return the converted string (0-terminated), NULL on error | 33 | * @return the converted string (0-terminated), NULL on error |
34 | * @return the converted string (0-terminated), | 34 | * @return the converted string (0-terminated), |
35 | * if conversion fails, a copy of the orignal | 35 | * if conversion fails, a copy of the original |
36 | * string is returned. | 36 | * string is returned. |
37 | */ | 37 | */ |
38 | char * | 38 | char * |
diff --git a/src/common/unzip.c b/src/common/unzip.c index a469a5b..6f6eef7 100644 --- a/src/common/unzip.c +++ b/src/common/unzip.c | |||
@@ -331,7 +331,7 @@ struct EXTRACTOR_UnzipFile | |||
331 | /** | 331 | /** |
332 | * Read a byte from a gz_stream; update next_in and avail_in. Return EOF | 332 | * Read a byte from a gz_stream; update next_in and avail_in. Return EOF |
333 | * for end of file. | 333 | * for end of file. |
334 | * IN assertion: the stream s has been sucessfully opened for reading. | 334 | * IN assertion: the stream s has been successfully opened for reading. |
335 | * | 335 | * |
336 | * @param ffd functions for performing IO operations | 336 | * @param ffd functions for performing IO operations |
337 | * @param pi where to store the byte that was read | 337 | * @param pi where to store the byte that was read |
@@ -353,7 +353,7 @@ read_byte_from_ffd (const struct FileFuncDefs *ffd, | |||
353 | /** | 353 | /** |
354 | * Read a short (2 bytes) from a gz_stream; update next_in and avail_in. Return EOF | 354 | * Read a short (2 bytes) from a gz_stream; update next_in and avail_in. Return EOF |
355 | * for end of file. | 355 | * for end of file. |
356 | * IN assertion: the stream s has been sucessfully opened for reading. | 356 | * IN assertion: the stream s has been successfully opened for reading. |
357 | * | 357 | * |
358 | * @param ffd functions for performing IO operations | 358 | * @param ffd functions for performing IO operations |
359 | * @param pi where to store the short that was read | 359 | * @param pi where to store the short that was read |
@@ -382,7 +382,7 @@ read_short_from_ffd (const struct FileFuncDefs *ffd, | |||
382 | /** | 382 | /** |
383 | * Read a 'long' (4 bytes) from a gz_stream; update next_in and avail_in. Return EOF | 383 | * Read a 'long' (4 bytes) from a gz_stream; update next_in and avail_in. Return EOF |
384 | * for end of file. | 384 | * for end of file. |
385 | * IN assertion: the stream s has been sucessfully opened for reading. | 385 | * IN assertion: the stream s has been successfully opened for reading. |
386 | * | 386 | * |
387 | * @param ffd functions for performing IO operations | 387 | * @param ffd functions for performing IO operations |
388 | * @param pi where to store the long that was read | 388 | * @param pi where to store the long that was read |
@@ -434,7 +434,7 @@ read_long_from_ffd (const struct FileFuncDefs *ffd, | |||
434 | * @param filename2 name of second file | 434 | * @param filename2 name of second file |
435 | * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); | 435 | * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); |
436 | * 2 for no case sensitivity (like strcmpi or strcasecmp); or | 436 | * 2 for no case sensitivity (like strcmpi or strcasecmp); or |
437 | * 0 for defaut of your operating system (like 1 on Unix, 2 on Windows) | 437 | * 0 for default of your operating system (like 1 on Unix, 2 on Windows) |
438 | * @return 0 if names are equal | 438 | * @return 0 if names are equal |
439 | */ | 439 | */ |
440 | static int | 440 | static int |
@@ -735,9 +735,9 @@ unzip_open_using_ffd (struct FileFuncDefs *ffd) | |||
735 | uLong central_pos; | 735 | uLong central_pos; |
736 | uLong uL; | 736 | uLong uL; |
737 | uLong number_disk; /* number of the current dist, used for | 737 | uLong number_disk; /* number of the current dist, used for |
738 | spaning ZIP, unsupported, always 0*/ | 738 | spanning ZIP, unsupported, always 0*/ |
739 | uLong number_disk_with_CD; /* number of the disk with central dir, used | 739 | uLong number_disk_with_CD; /* number of the disk with central dir, used |
740 | for spaning ZIP, unsupported, always 0*/ | 740 | for spanning ZIP, unsupported, always 0*/ |
741 | uLong number_entry_CD; /* total number of entries in | 741 | uLong number_entry_CD; /* total number of entries in |
742 | the central dir | 742 | the central dir |
743 | (same than number_entry on nospan) */ | 743 | (same than number_entry on nospan) */ |
@@ -961,7 +961,7 @@ EXTRACTOR_common_unzip_go_to_next_file (struct EXTRACTOR_UnzipFile *file) | |||
961 | * @param szFileName name to find | 961 | * @param szFileName name to find |
962 | * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); | 962 | * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); |
963 | * 2 for no case sensitivity (like strcmpi or strcasecmp); or | 963 | * 2 for no case sensitivity (like strcmpi or strcasecmp); or |
964 | * 0 for defaut of your operating system (like 1 on Unix, 2 on Windows) | 964 | * 0 for default of your operating system (like 1 on Unix, 2 on Windows) |
965 | * @return #EXTRACTOR_UNZIP_OK if the file is found. It becomes the current file. | 965 | * @return #EXTRACTOR_UNZIP_OK if the file is found. It becomes the current file. |
966 | * #EXTRACTOR_UNZIP_END_OF_LIST_OF_FILE if the file is not found | 966 | * #EXTRACTOR_UNZIP_END_OF_LIST_OF_FILE if the file is not found |
967 | */ | 967 | */ |
@@ -1029,7 +1029,7 @@ EXTRACTOR_common_unzip_go_find_local_file (struct EXTRACTOR_UnzipFile *file, | |||
1029 | * | 1029 | * |
1030 | * @param buf contain buffer where data must be copied | 1030 | * @param buf contain buffer where data must be copied |
1031 | * @param len the size of buf. | 1031 | * @param len the size of buf. |
1032 | * @return the number of byte copied if somes bytes are copied | 1032 | * @return the number of byte copied if some bytes are copied |
1033 | * 0 if the end of file was reached | 1033 | * 0 if the end of file was reached |
1034 | * <0 with error code if there is an error | 1034 | * <0 with error code if there is an error |
1035 | * (#EXTRACTOR_UNZIP_ERRNO for IO error, or zLib error for uncompress error) | 1035 | * (#EXTRACTOR_UNZIP_ERRNO for IO error, or zLib error for uncompress error) |
diff --git a/src/main/extractor_plugin_main.c b/src/main/extractor_plugin_main.c index b7b2996..ee51c8f 100644 --- a/src/main/extractor_plugin_main.c +++ b/src/main/extractor_plugin_main.c | |||
@@ -106,7 +106,7 @@ struct ProcessingContext | |||
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Moves current absolute buffer position to 'pos' in 'whence' mode. | 108 | * Moves current absolute buffer position to 'pos' in 'whence' mode. |
109 | * Will move logical position withouth shifting the buffer, if possible. | 109 | * Will move logical position without shifting the buffer, if possible. |
110 | * Will not move beyond the end of file. | 110 | * Will not move beyond the end of file. |
111 | * | 111 | * |
112 | * @param plugin plugin context | 112 | * @param plugin plugin context |
@@ -251,7 +251,7 @@ plugin_env_seek (void *cls, | |||
251 | * @param plugin plugin context | 251 | * @param plugin plugin context |
252 | * @param data location to store data pointer | 252 | * @param data location to store data pointer |
253 | * @param count number of bytes to read | 253 | * @param count number of bytes to read |
254 | * @return number of bytes (<= count) avalable in @a data, -1 on error | 254 | * @return number of bytes (<= count) available in @a data, -1 on error |
255 | */ | 255 | */ |
256 | static ssize_t | 256 | static ssize_t |
257 | plugin_env_read (void *cls, | 257 | plugin_env_read (void *cls, |
@@ -550,7 +550,7 @@ process_requests (struct ProcessingContext *pc) | |||
550 | /* odd, we're already in the start state... */ | 550 | /* odd, we're already in the start state... */ |
551 | continue; | 551 | continue; |
552 | default: | 552 | default: |
553 | LOG ("Received invalid messag %d\n", (int) code); | 553 | LOG ("Received invalid message %d\n", (int) code); |
554 | /* error, unexpected message */ | 554 | /* error, unexpected message */ |
555 | return; | 555 | return; |
556 | } | 556 | } |
diff --git a/src/main/extractor_plugins.c b/src/main/extractor_plugins.c index 1ab777b..147efda 100644 --- a/src/main/extractor_plugins.c +++ b/src/main/extractor_plugins.c | |||
@@ -200,7 +200,7 @@ EXTRACTOR_plugin_load_ (struct EXTRACTOR_PluginList *plugin) | |||
200 | * @param library the name of the library | 200 | * @param library the name of the library |
201 | * @param options options to pass to the plugin | 201 | * @param options options to pass to the plugin |
202 | * @param flags options to use | 202 | * @param flags options to use |
203 | * @return the new list of libraries, equal to prev iff an error occured | 203 | * @return the new list of libraries, equal to prev iff an error occurred |
204 | */ | 204 | */ |
205 | struct EXTRACTOR_PluginList * | 205 | struct EXTRACTOR_PluginList * |
206 | EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList *prev, | 206 | EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList *prev, |
@@ -254,7 +254,7 @@ EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList *prev, | |||
254 | * the library list. | 254 | * the library list. |
255 | * @param prev the previous list of libraries, may be NULL | 255 | * @param prev the previous list of libraries, may be NULL |
256 | * @param flags options to use | 256 | * @param flags options to use |
257 | * @return the new list of libraries, equal to prev iff an error occured | 257 | * @return the new list of libraries, equal to prev iff an error occurred |
258 | * or if config was empty (or NULL). | 258 | * or if config was empty (or NULL). |
259 | */ | 259 | */ |
260 | struct EXTRACTOR_PluginList * | 260 | struct EXTRACTOR_PluginList * |
diff --git a/src/plugins/man_extractor.c b/src/plugins/man_extractor.c index 86ba68d..e22fca4 100644 --- a/src/plugins/man_extractor.c +++ b/src/plugins/man_extractor.c | |||
@@ -52,7 +52,7 @@ stndup (const char *str, size_t n) | |||
52 | * makes sure we don't pass empty strings or NULL pointers. | 52 | * makes sure we don't pass empty strings or NULL pointers. |
53 | * | 53 | * |
54 | * @param type metadata type to use | 54 | * @param type metadata type to use |
55 | * @param keyword metdata value; freed in the process | 55 | * @param keyword metadata value; freed in the process |
56 | * @param proc function to call with meta data | 56 | * @param proc function to call with meta data |
57 | * @param proc_cls closure for 'proc' | 57 | * @param proc_cls closure for 'proc' |
58 | * @return 0 to continue extracting, 1 if we are done | 58 | * @return 0 to continue extracting, 1 if we are done |