changeset 163:0322836c5299

Return -1 on error from dw_module_load().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 17 Nov 2002 12:34:54 +0000
parents df59a3fc6de6
children d35771f70bdd
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Sun Nov 17 12:29:43 2002 +0000
+++ b/gtk/dw.c	Sun Nov 17 12:34:54 2002 +0000
@@ -5014,7 +5014,7 @@
 
 	free(newname);
 
-	return (NULL == *handle);
+	return (NULL == *handle) ? -1 : 0;
 }
 
 /* Queries the address of a symbol within open handle.