Index: /tags/ipp-20100823/pstamp/src/ppstampMakeStamp.c
===================================================================
--- /tags/ipp-20100823/pstamp/src/ppstampMakeStamp.c	(revision 29397)
+++ /tags/ipp-20100823/pstamp/src/ppstampMakeStamp.c	(revision 29398)
@@ -679,4 +679,5 @@
 static bool setMaskedToNAN(pmConfig *config, psImage *image, psImage *mask, psImage *variance)
 {
+#ifdef notdef
     bool status;
     psMetadata *masks = psMetadataLookupMetadata(&status, config->recipes, "MASKS");
@@ -724,5 +725,14 @@
         }
     }
-    fprintf(stderr, "excised %ld masked pixels\n", numExcised);
+#endif
+
+    long numCensored;
+    if (!pmCensorMasked(config, image, mask, variance, &numCensored)) {
+        psError(PS_ERR_UNKNOWN, false, "Failed to censor masked pixels.\n");
+        return false;
+    }
+
+    // XXX: this shouldn't be a fprintf
+    fprintf(stderr, "Censored %ld masked pixels\n", numCensored);
 
     return true;
