Commit 59191aa5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(is_member_in_recpt): Don't use __FILE__.

(do_sub_recpt): Ditto.
(check_double_subm): Ditto.
(check_double_comm): Ditto.  Fix the function name in a log message.
parent 1d411216
/*
* $Id: text.c,v 0.96 2002/08/10 18:17:51 ceder Exp $
* $Id: text.c,v 0.97 2002/10/27 13:55:58 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -438,7 +438,7 @@ is_member_in_recpt(const Person *person,
default:
#endif
case unknown_info:
kom_log("%s: is_member_in_recpt(): bad misc_item.\n", __FILE__);
kom_log("is_member_in_recpt(): bad misc_item.\n");
break;
}
}
......@@ -640,7 +640,7 @@ do_sub_recpt(Text_no text_no,
default:
#endif
case unknown_info:
kom_log("%s: do_sub_recpt(): bad misc_item.\n", __FILE__);
kom_log("do_sub_recpt(): bad misc_item.\n");
break;
}
}
......@@ -1618,7 +1618,7 @@ check_double_subm(const Misc_info *misc,
default:
#endif
case unknown_info:
kom_log("%s: check_double_subm(): bad misc_item.\n", __FILE__);
kom_log("check_double_subm(): bad misc_item.\n");
break;
}
}
......@@ -1659,7 +1659,7 @@ check_double_comm(const Misc_info *misc,
default:
#endif
case unknown_info:
kom_log("%s: check_double_subm(): bad misc_item.\n", __FILE__);
kom_log("check_double_comm(): bad misc_item.\n");
break;
}
}
......
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