diff options
author | emanuele-f <black.silver@hotmail.it> | 2019-04-12 17:25:38 +0200 |
---|---|---|
committer | emanuele-f <black.silver@hotmail.it> | 2019-04-12 17:25:38 +0200 |
commit | 5b6526cc5ae7c396a33a75c6a4935f5bf266f907 (patch) | |
tree | a878b9417d32bf1c8d3c2dee912ec3c11e52d2d7 /src | |
parent | 5e24b32467be38ded476ac276571e5785a98cde4 (diff) |
Add missing newlines
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index b3c69f825..14d5e5f63 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2898,14 +2898,14 @@ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_mod, char fd = fopen(path, "r"); if(fd == NULL) { - NDPI_LOG_ERR(ndpi_mod, "Unable to open file %s [%s]", path, strerror(errno)); + NDPI_LOG_ERR(ndpi_mod, "Unable to open file %s [%s]\n", path, strerror(errno)); goto error; } buffer = ndpi_malloc(buffer_len); if(buffer == NULL) { - NDPI_LOG_ERR(ndpi_mod, "Memory allocation failure"); + NDPI_LOG_ERR(ndpi_mod, "Memory allocation failure\n"); goto close_fd; } @@ -2922,7 +2922,7 @@ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_mod, char buffer = ndpi_realloc(old_buffer, old_buffer_len, buffer_len); if(buffer == NULL) { - NDPI_LOG_ERR(ndpi_mod, "Memory allocation failure"); + NDPI_LOG_ERR(ndpi_mod, "Memory allocation failure\n"); free(old_buffer); goto close_fd; } |