diff options
Diffstat (limited to 'src/plugins/scripts/script.c')
-rw-r--r-- | src/plugins/scripts/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c index 9095bca28..7b44e5e2c 100644 --- a/src/plugins/scripts/script.c +++ b/src/plugins/scripts/script.c @@ -175,9 +175,9 @@ char * script_ptr2str (void *pointer) { char pointer_str[128]; - + if (!pointer) - return strdup (""); + return strdup ("0x0"); snprintf (pointer_str, sizeof (pointer_str), "0x%lx", (long unsigned int)pointer); |