summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2009-01-22 23:21:11 +0000
committerTom Yu <tlyu@mit.edu>2009-01-22 23:21:11 +0000
commitf391d18be3aa3de52b391596bd8025010281cfb7 (patch)
treec5c4d97d09ea4adfe82d70a057c5e6f785037340 /src/util
parent6422c0b5646f4f8e40108c167c50d7aea9abb6da (diff)
downloadkrb5-f391d18be3aa3de52b391596bd8025010281cfb7.tar.gz
krb5-f391d18be3aa3de52b391596bd8025010281cfb7.tar.xz
krb5-f391d18be3aa3de52b391596bd8025010281cfb7.zip
whitespace
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21778 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/support/k5buf-int.h2
-rw-r--r--src/util/support/k5buf.c2
-rw-r--r--src/util/support/t_k5buf.c14
3 files changed, 9 insertions, 9 deletions
diff --git a/src/util/support/k5buf-int.h b/src/util/support/k5buf-int.h
index 20aefc367..ade9ec37f 100644
--- a/src/util/support/k5buf-int.h
+++ b/src/util/support/k5buf-int.h
@@ -18,7 +18,7 @@
* this permission notice appear in supporting documentation, and that
* the name of M.I.T. not be used in advertising or publicity pertaining
* to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
+ * permission. Furthermore if you modify this software you must label
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
* M.I.T. makes no representations about the suitability of
diff --git a/src/util/support/k5buf.c b/src/util/support/k5buf.c
index 0bdffb1ad..01dcbabf8 100644
--- a/src/util/support/k5buf.c
+++ b/src/util/support/k5buf.c
@@ -18,7 +18,7 @@
* this permission notice appear in supporting documentation, and that
* the name of M.I.T. not be used in advertising or publicity pertaining
* to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
+ * permission. Furthermore if you modify this software you must label
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
* M.I.T. makes no representations about the suitability of
diff --git a/src/util/support/t_k5buf.c b/src/util/support/t_k5buf.c
index bb60db440..5eb0b9bf3 100644
--- a/src/util/support/t_k5buf.c
+++ b/src/util/support/t_k5buf.c
@@ -18,7 +18,7 @@
* this permission notice appear in supporting documentation, and that
* the name of M.I.T. not be used in advertising or publicity pertaining
* to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
+ * permission. Furthermore if you modify this software you must label
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
* M.I.T. makes no representations about the suitability of
@@ -35,8 +35,8 @@
static void fail_if(int condition, const char *name)
{
if (condition) {
- fprintf(stderr, "%s failed\n", name);
- exit(1);
+ fprintf(stderr, "%s failed\n", name);
+ exit(1);
}
}
@@ -44,9 +44,9 @@ static void fail_if(int condition, const char *name)
static void check_buf(struct k5buf *buf, const char *name)
{
fail_if(buf->buftype != FIXED && buf->buftype != DYNAMIC
- && buf->buftype != ERROR, name);
+ && buf->buftype != ERROR, name);
if (buf->buftype == ERROR)
- return;
+ return;
fail_if(buf->space == 0, name);
fail_if(buf->space > SPACE_MAX, name);
fail_if(buf->len >= buf->space, name);
@@ -85,7 +85,7 @@ static void test_realloc()
size_t i;
for (i = 0; i < sizeof(data); i++)
- data[i] = 'a';
+ data[i] = 'a';
/* Cause the buffer size to double from 128 to 256 bytes. */
krb5int_buf_init_dynamic(&buf);
@@ -236,7 +236,7 @@ static void test_fmt()
size_t i;
for (i = 0; i < sizeof(data) - 1; i++)
- data[i] = 'a';
+ data[i] = 'a';
data[i] = '\0';
/* Format some text into a non-empty fixed buffer. */