Browse Source

Printing changes on de-anonymization

Piotr Czajkowski 5 years ago
parent
commit
17079317a3
1 changed files with 5 additions and 1 deletions
  1. 5 1
      comments.c

+ 5 - 1
comments.c

@@ -80,7 +80,11 @@ int deanonymizeAuthors(const xmlXPathObjectPtr authors) {
 		anonName = xmlNodeGetContent(authors->nodesetval->nodeTab[i]);
 		
 		char *author = binn_object_str(anonAuthors, (char*)anonName);
-		if (author != NULL) xmlNodeSetContent(authors->nodesetval->nodeTab[i], (xmlChar*)author);
+		if (author != NULL) {
+			xmlNodeSetContent(authors->nodesetval->nodeTab[i], (xmlChar*)author);
+			printAuthors((char*)anonName, author);
+		}
+		
 		xmlFree(anonName);
 	}