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

Fixed fix.

Rev: src/module_support.c:1.59
parent 2b300443
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: module_support.c,v 1.58 2003/12/17 21:08:34 marcus Exp $ || $Id: module_support.c,v 1.59 2003/12/17 22:12:13 grubba Exp $
*/ */
#include "global.h" #include "global.h"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#define sp Pike_sp #define sp Pike_sp
RCSID("$Id: module_support.c,v 1.58 2003/12/17 21:08:34 marcus Exp $"); RCSID("$Id: module_support.c,v 1.59 2003/12/17 22:12:13 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.
...@@ -230,12 +230,12 @@ int va_get_args(struct svalue *s, ...@@ -230,12 +230,12 @@ int va_get_args(struct svalue *s,
*va_arg(ap, LONGEST *)=s->u.integer; *va_arg(ap, LONGEST *)=s->u.integer;
break; break;
#ifdef AUTO_BIGNUM #ifdef AUTO_BIGNUM
} else if (!is_bignum_object_in_svalue(s) || } else if (is_bignum_object_in_svalue(s) &&
!int64_from_bignum(va_arg(ap, LONGEST *), s->u.object)) { int64_from_bignum(va_arg(ap, LONGEST *), s->u.object) == 1) {
return ret; break;
#endif #endif
} }
break; return ret;
case 's': case 's':
if(s->type != T_STRING) return ret; if(s->type != T_STRING) return ret;
if(s->u.string->size_shift) return ret; if(s->u.string->size_shift) return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment