Skip to content

Commit e4bbb04

Browse files
Fix doc code of ti_DetectVar
[ci skip]
1 parent f1e13f4 commit e4bbb04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fileioc/fileioc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ char *ti_Detect(void **curr_search_posistion, const char *detection_string);
110110
* @code
111111
* char *var_name;
112112
* uint8_t *search_pos = NULL;
113-
* while((var_name = ti_Detect(&search_pos, "my_data", TI_PRGM_TYPE)) != NULL) {
113+
* while((var_name = ti_DetectVar(&search_pos, "my_data", TI_PRGM_TYPE)) != NULL) {
114114
* ...do something with the name or search_pos...
115115
* }
116116
* @endcode

0 commit comments

Comments
 (0)