summaryrefslogtreecommitdiff
path: root/src/include/mime-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mime-utils.h')
-rw-r--r--src/include/mime-utils.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/mime-utils.h b/src/include/mime-utils.h
index 732234a..8a59041 100644
--- a/src/include/mime-utils.h
+++ b/src/include/mime-utils.h
@@ -7,19 +7,17 @@
#ifndef mime_utils_h_included
#define mime_utils_h_included
-#include <string.h>
#include <ctype.h>
-#include <stdio.h>
#include <errno.h>
+#include <stdio.h>
+#include <string.h>
using namespace ::std;
-inline bool compareStringToQueue(const char *s_in, char *bqueue,
- int pos, int size)
+inline bool compareStringToQueue(const char *s_in, char *bqueue, int pos, int size)
{
for (int i = 0; i < size; ++i)
- if (s_in[i] != bqueue[(pos + i) % size])
- return false;
+ if (s_in[i] != bqueue[(pos + i) % size]) return false;
return true;
}