]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: gmtime_max.m4 - Replace tabs with spaces
authorKarl Fleischmann <karl.fleischmann@open-xchange.com>
Tue, 14 Jun 2022 08:28:54 +0000 (10:28 +0200)
committerKarl Fleischmann <karl.fleischmann@open-xchange.com>
Mon, 4 Jul 2022 09:43:26 +0000 (11:43 +0200)
m4/gmtime_max.m4

index 7f73faf8f9bf3ffc44e08b418eb4cb3c77efe140..da272d0c580613ff14bf936a0c667b84926f4b52 100644 (file)
@@ -9,22 +9,22 @@ AC_DEFUN([DOVECOT_GMTIME_MAX], [
         int bits;
     
         for (bits = 1; bits < sizeof(time_t)*8; bits++) {
-       time_t t = ((time_t)1 << bits) - 1;
-       if (gmtime(&t) == NULL) {
-         bits--;
-         break;
-       }
+          time_t t = ((time_t)1 << bits) - 1;
+          if (gmtime(&t) == NULL) {
+            bits--;
+            break;
+          }
         }
         if (bits > 40) {
-       /* Solaris 9 breaks after 55 bits. Perhaps other systems break earlier.
-          Let's just do the same as Cyrus folks and limit it to 40 bits. */
-       bits = 40;
+          /* Solaris 9 breaks after 55 bits. Perhaps other systems break earlier.
+             Let's just do the same as Cyrus folks and limit it to 40 bits. */
+          bits = 40;
         }
     
         f = fopen("conftest.temp", "w");
         if (f == NULL) {
-       perror("fopen()");
-       return 1;
+          perror("fopen()");
+          return 1;
         }
         fprintf(f, "%d", bits);
         fclose(f);