gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25658 - monkey/trunk/pathologist/src/pathologist


From: gnunet
Subject: [GNUnet-SVN] r25658 - monkey/trunk/pathologist/src/pathologist
Date: Thu, 27 Dec 2012 15:27:11 +0100

Author: teichm
Date: 2012-12-27 15:27:11 +0100 (Thu, 27 Dec 2012)
New Revision: 25658

Modified:
   monkey/trunk/pathologist/src/pathologist/action_api.c
Log:
replaced "0x0" with "NULL" in the report for a nicer representation

Modified: monkey/trunk/pathologist/src/pathologist/action_api.c
===================================================================
--- monkey/trunk/pathologist/src/pathologist/action_api.c       2012-12-27 
14:19:44 UTC (rev 25657)
+++ monkey/trunk/pathologist/src/pathologist/action_api.c       2012-12-27 
14:27:11 UTC (rev 25658)
@@ -400,7 +400,7 @@
                        continue;
                }
                if (strcmp(tmp->expressionSyntax, "NULL") == 0) {
-                       tmp->expressionValue = "0x0";
+                       tmp->expressionValue = "NULL";
                        tmp = tmp->next;
                        continue;
                }
@@ -411,6 +411,7 @@
                && (strcmp(tmp->expressionValue, "0x0") == 0
                        || strcmp(tmp->expressionValue, "NULL") == 0))
                {
+                       tmp->expressionValue = "NULL";
                        cntxt->gdb_null_variable = tmp->expressionSyntax;
                        cntxt->has_null = MONKEY_YES;
                }
@@ -445,7 +446,7 @@
                        continue;
                }
                if (strcmp(tmp->expressionSyntax, "NULL") == 0) {
-                       tmp->expressionValue = "0x0";
+                       tmp->expressionValue = "NULL";
                        tmp = tmp->next;
                        continue;
                }
@@ -456,6 +457,7 @@
                && (strcmp(tmp->expressionValue, "0x0") == 0
                        || strcmp(tmp->expressionValue, "NULL") == 0))
                {
+                       tmp->expressionValue = "NULL";
                        cntxt->gdb_null_variable = tmp->expressionSyntax;
                        cntxt->has_null = MONKEY_YES;
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]