On Wed, 12 Jun 2002, Tom Whiting wrote:

> char *        cmd_func_name( DO_FUN *command )
> {
>       int cmd;
>
>       for ( cmd = 0; cmd_list[cmd].name; cmd++ )
-               if ( cmd_list[cmd].funcion == command )
+               if ( cmd_list[cmd].function == command )
>                       return cmd_list[cmd].name;
>
-       return "";
+       return "broken";
> }
> still returning null in the query.
> executing: INSERT into commands 'at','','0',211,',0','A','0',0,'A'

See if it inserts 'broken' instead of '' ...


-- 
Dominic J. Eidson
                                        "Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/              http://www.the-infinite.org/~dominic/


Reply via email to