summaryrefslogtreecommitdiff
path: root/doc/errcodes.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-16 17:30:42 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-16 17:30:42 +0100
commit6eb6bbfe8e504a611145f454f4045e8f49fd5e44 (patch)
treebaba850cc86ee2d9d61de89da1cdfe408ad8694a /doc/errcodes.c
parentbdcfdac13179eccee6294402f2654fece149f82b (diff)
downloadgnutls-6eb6bbfe8e504a611145f454f4045e8f49fd5e44.tar.gz
Indented code. Use same indentation but with -nut to avoid usage of tabs. In several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.
Diffstat (limited to 'doc/errcodes.c')
-rw-r--r--doc/errcodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/errcodes.c b/doc/errcodes.c
index 789b8199dc..915ae66fc5 100644
--- a/doc/errcodes.c
+++ b/doc/errcodes.c
@@ -49,7 +49,7 @@ main (int argc, char *argv[])
int i, j;
const char *desc;
const char *_name;
- error_name names_to_sort[400]; /* up to 400 names */
+ error_name names_to_sort[400]; /* up to 400 names */
printf ("@table @code\n");
@@ -59,7 +59,7 @@ main (int argc, char *argv[])
{
_name = gnutls_strerror_name (i);
if (_name == NULL)
- continue;
+ continue;
strcpy (names_to_sort[j].name, _name);
names_to_sort[j].error_index = i;
@@ -73,7 +73,7 @@ main (int argc, char *argv[])
_name = names_to_sort[i].name;
desc = gnutls_strerror (names_to_sort[i].error_index);
if (desc == NULL || _name == NULL)
- continue;
+ continue;
printf ("@item %s:\n%s\n\n", _name, desc);
}