msharee9 commented on a change in pull request #613: Minificpp 927 Nanofi 
tailfile delimited processor
URL: https://github.com/apache/nifi-minifi-cpp/pull/613#discussion_r320794492
 
 

 ##########
 File path: nanofi/src/core/string_utils.c
 ##########
 @@ -20,67 +20,145 @@
 #include "core/string_utils.h"
 #include <string.h>
 #include <stdlib.h>
+#include <stdio.h>
 
-tokens tokenize_string(const char * str, char delim, tokenizer_mode_t mode) {
-    tokens tks;
-    tks.num_strings = 0;
-    tks.total_bytes = 0;
+int validate_list(struct token_list * tk_list) {
+    if (tk_list && tk_list->head && tk_list->tail && tk_list->size > 0) {
+        return 1;
 
 Review comment:
   Updated.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to