projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo, and use the privileges drop.
[apps/pfixtools.git]
/
str.h
diff --git
a/str.h
b/str.h
index
d51b603
..
f6980e4
100644
(file)
--- a/
str.h
+++ b/
str.h
@@
-1,5
+1,5
@@
/******************************************************************************/
/******************************************************************************/
-/* p
ostlicyd: a postfix policy daemon with a lot of features
*/
+/* p
fixtools: a collection of postfix related tools
*/
/* ~~~~~~~~~ */
/* ________________________________________________________________________ */
/* */
/* ~~~~~~~~~ */
/* ________________________________________________________________________ */
/* */
@@
-338,6
+338,14
@@
static inline const char *m_strnextsp(const char *s) {
return s;
}
return s;
}
+__attribute__((nonnull(1)))
+static inline char *m_vstrnextsp(char *s) {
+ while (*s && !isspace((unsigned char)*s))
+ s++;
+ return s;
+}
+
+
__attribute__((nonnull(1)))
static inline const char *skipspaces(const char *s) {
while (isspace((unsigned char)*s))
__attribute__((nonnull(1)))
static inline const char *skipspaces(const char *s) {
while (isspace((unsigned char)*s))