projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable debugging of chan_lcr via ast_log
[lcr.git]
/
genext.c
diff --git
a/genext.c
b/genext.c
index
486af09
..
e9de687
100644
(file)
--- a/
genext.c
+++ b/
genext.c
@@
-30,11
+30,11
@@
int fhuse = 0;
struct isdn_cause isdn_cause[128];
struct isdn_location isdn_location[16];
struct isdn_cause isdn_cause[128];
struct isdn_location isdn_location[16];
-void _printdebug(const char *function, int line, unsigned int mask, const char *fmt, ...)
+void _printdebug(const char *f
ile, const char *f
unction, int line, unsigned int mask, const char *fmt, ...)
{
}
{
}
-void _printerror(const char *function, int line, const char *fmt, ...)
+void _printerror(const char *f
ile, const char *f
unction, int line, const char *fmt, ...)
{
char buffer[4096];
va_list args;
{
char buffer[4096];
va_list args;
@@
-52,8
+52,9
@@
int main(int argc, char *argv[])
struct extension ext;
char pathname[256];
FILE *fp;
struct extension ext;
char pathname[256];
FILE *fp;
+ char options_error[256];
- if (!read_options()) {
+ if (!read_options(
options_error
)) {
PERROR("%s", options_error);
return(-1);
}
PERROR("%s", options_error);
return(-1);
}