summaryrefslogtreecommitdiffstats
path: root/common/sexp-parse.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
committerWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
commitb008274afdbe375b32a7e66dbd073e200f6f0587 (patch)
tree219e239d39cf06be3f03aa82fb572080ac163a15 /common/sexp-parse.h
parentLet autogen.sh check the git config (diff)
downloadgnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.xz
gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.zip
Nuked almost all trailing white space.post-nuke-of-trailing-ws
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
Diffstat (limited to 'common/sexp-parse.h')
-rw-r--r--common/sexp-parse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/sexp-parse.h b/common/sexp-parse.h
index 5ec7c7f71..008c2d221 100644
--- a/common/sexp-parse.h
+++ b/common/sexp-parse.h
@@ -51,7 +51,7 @@ sskip (unsigned char const **buf, int *depth)
const unsigned char *s = *buf;
size_t n;
int d = *depth;
-
+
while (d > 0)
{
if (*s == '(')
@@ -70,7 +70,7 @@ sskip (unsigned char const **buf, int *depth)
return gpg_error (GPG_ERR_INV_SEXP);
n = snext (&s);
if (!n)
- return gpg_error (GPG_ERR_INV_SEXP);
+ return gpg_error (GPG_ERR_INV_SEXP);
s += n;
}
}
@@ -123,6 +123,6 @@ smklen (char *help_buffer, size_t help_buflen, size_t value, size_t *length)
*length = (help_buffer + help_buflen) - p;
return p;
}
-
+
#endif /*SEXP_PARSE_H*/