Commit 00336118 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(aux_item_trigger_mark_text): Removed the base argument of s_strtol.

(aux_item_trigger_unmark_text): Ditto.
(aux_item_trigger_mirror_faq): Ditto.
(aux_item_validate_existing_text): Ditto.
parent 1a5d9c37
/*
* $Id: aux-items.c,v 1.44 2002/08/10 16:55:21 ceder Exp $
* $Id: aux-items.c,v 1.45 2002/08/10 19:57:30 ceder Exp $
* Copyright (C) 1994-2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1941,7 +1941,7 @@ aux_item_trigger_mark_text(Aux_item_trigger_data *data)
Text_stat *text_stat;
String_size ill_char;
text_no = s_strtol(data->item->data, &ill_char, 10);
text_no = s_strtol(data->item->data, &ill_char);
VOID_GET_T_STAT(text_stat, text_no);
if (text_stat->no_of_marks < param.max_marks_text)
text_stat->no_of_marks += 1;
......@@ -1955,7 +1955,7 @@ aux_item_trigger_unmark_text(Aux_item_trigger_data *data)
Text_stat *text_stat;
String_size ill_char;
text_no = s_strtol(data->item->data, &ill_char, 10);
text_no = s_strtol(data->item->data, &ill_char);
VOID_GET_T_STAT(text_stat, text_no);
if (text_stat->no_of_marks > 0)
text_stat->no_of_marks -= 1;
......@@ -1978,7 +1978,7 @@ aux_item_trigger_mirror_faq(Aux_item_trigger_data *data)
/* Get the object number of where we want to put the new item */
text_no = s_strtol(data->item->data, &ill_char, 10);
text_no = s_strtol(data->item->data, &ill_char);
/* Create the string for the new item */
......@@ -2129,7 +2129,7 @@ aux_item_validate_existing_text(Aux_item_validation_data *v_data)
Text_no text_no;
String_size ill_char;
text_no = s_strtol(v_data->item->data, &ill_char, 10);
text_no = s_strtol(v_data->item->data, &ill_char);
GET_T_STAT(text_stat, text_no, FALSE);
return person_text_read_access(text_no, text_stat,
v_data->item_creator, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment