]> diplodocus.org Git - nmh/blobdiff - sbr/datetime.c
Replace `(char *)0' et al with `NULL'.
[nmh] / sbr / datetime.c
index 4fb7bac0035033ea4689513add5511a43cf4162b..8478414e4a0feb2cdd52b2079bc4f765abe23d2c 100644 (file)
@@ -217,7 +217,7 @@ load_timezones (const contentline *clines) {
                 ! strcasecmp ("VTIMEZONE", node->value)) {
 
                 in_vtimezone = 1;
-                timezone = mh_xcalloc (1, sizeof (struct tzdesc));
+                NEW0(timezone);
                 if (timezones) {
                     tzdesc_t t;