Skip to content
Snippets Groups Projects
Commit c8d8c664 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed yet another bug.

Rev: src/module_support.c:1.16
parent f533065a
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include "pike_types.h" #include "pike_types.h"
#include "error.h" #include "error.h"
RCSID("$Id: module_support.c,v 1.15 1998/10/10 00:33:38 grubba Exp $"); RCSID("$Id: module_support.c,v 1.16 1998/10/10 00:34:01 grubba Exp $");
/* Checks that args_to_check arguments are OK. /* Checks that args_to_check arguments are OK.
* Returns 1 if everything worked ok, zero otherwise. * Returns 1 if everything worked ok, zero otherwise.
...@@ -234,7 +234,7 @@ void get_all_args(char *fname, INT32 args, char *format, ... ) ...@@ -234,7 +234,7 @@ void get_all_args(char *fname, INT32 args, char *format, ... )
switch(format[ret*2+1]) { switch(format[ret*2+1]) {
case 'd': case 'i': expected_type = "int"; break; case 'd': case 'i': expected_type = "int"; break;
case 's': case 'S': expected_type = "string (8bit)"; break; case 's': case 'S': expected_type = "string (8bit)"; break;
case "W": expected_type = "string"; break; case 'W': expected_type = "string"; break;
case 'a': expected_type = "array"; break; case 'a': expected_type = "array"; break;
case 'f': expected_type = "float"; break; case 'f': expected_type = "float"; break;
case 'm': expected_type = "mapping"; break; case 'm': expected_type = "mapping"; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment