]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/alloc.c
Fix OPENSSL include in lib and findlib
[bacula/bacula] / bacula / src / lib / alloc.c
index f25ee348bca0d6338a60d708d42542814c6a16f3..8de592cf1dc4ec5f49549dfff2125ab192904358 100644 (file)
@@ -6,7 +6,7 @@
 */
 
 /*
-   Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+   Copyright (C) 2000-2004 Kern Sibbald and John Walker
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -52,8 +52,8 @@ void *sm_alloc(char *fname, int lineno, unsigned int nbytes)
        if ((buf = sm_malloc(fname, lineno, nbytes)) != NULL) {
           return buf;
        }
-        V fprintf(stderr, "\nBoom!!!  Memory capacity exceeded.\n");
-        V fprintf(stderr, "  Requested %u bytes at line %d of %s.\n",
+       V fprintf(stderr, "\nBoom!!!  Memory capacity exceeded.\n");
+       V fprintf(stderr, "  Requested %u bytes at line %d of %s.\n",
           nbytes, lineno, fname);
        abort();
        /*NOTREACHED*/
@@ -69,8 +69,8 @@ void *alloc(unsigned int nbytes)
        if ((buf = malloc(nbytes)) != NULL) {
           return buf;
        }
-        V fprintf(stderr, "\nBoom!!!  Memory capacity exceeded.\n");
-        V fprintf(stderr, "  Requested %u bytes.\n", nbytes);
+       V fprintf(stderr, "\nBoom!!!  Memory capacity exceeded.\n");
+       V fprintf(stderr, "  Requested %u bytes.\n", nbytes);
        abort();
        /*NOTREACHED*/
 }