Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf719fa3a | ||
|
|
8fc524e6e7 | ||
|
|
50e2d23352 | ||
|
|
8c424cc4ff | ||
|
|
2f6aee20d9 | ||
|
|
1328ab60de | ||
|
|
f826a6e4ad | ||
|
|
4ec90f7435 |
@@ -1,5 +0,0 @@
|
||||
.depend
|
||||
*.lo
|
||||
libpri.so.1.0
|
||||
pritest
|
||||
|
||||
7
Makefile
Executable file → Normal file
7
Makefile
Executable file → Normal file
@@ -70,11 +70,14 @@ endif
|
||||
all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
|
||||
|
||||
update:
|
||||
@if [ -d CVS ]; then \
|
||||
@if [ -d .svn ]; then \
|
||||
echo "Updating from Subversion..." ; \
|
||||
svn update -q; \
|
||||
elif [ -d CVS ]; then \
|
||||
echo "Updating from CVS..." ; \
|
||||
cvs -q -z3 update -Pd; \
|
||||
else \
|
||||
echo "Not CVS"; \
|
||||
echo "Not under version control"; \
|
||||
fi
|
||||
|
||||
install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
|
||||
|
||||
0
compiler.h
Executable file → Normal file
0
compiler.h
Executable file → Normal file
0
copy_string.c
Executable file → Normal file
0
copy_string.c
Executable file → Normal file
0
pri_facility.c
Executable file → Normal file
0
pri_facility.c
Executable file → Normal file
0
pri_facility.h
Executable file → Normal file
0
pri_facility.h
Executable file → Normal file
0
pri_internal.h
Executable file → Normal file
0
pri_internal.h
Executable file → Normal file
0
pri_q921.h
Executable file → Normal file
0
pri_q921.h
Executable file → Normal file
0
pri_q931.h
Executable file → Normal file
0
pri_q931.h
Executable file → Normal file
0
pri_timers.h
Executable file → Normal file
0
pri_timers.h
Executable file → Normal file
0
prisched.c
Executable file → Normal file
0
prisched.c
Executable file → Normal file
2
q921.c
Executable file → Normal file
2
q921.c
Executable file → Normal file
@@ -338,7 +338,7 @@ static void t200_expire(void *vpri)
|
||||
if (pri->debug & PRI_DEBUG_Q921_STATE)
|
||||
pri_message(pri, "-- Retransmitting %d bytes\n", pri->txqueue->len);
|
||||
if (pri->busy)
|
||||
q921_rr(pri, 1, 0);
|
||||
q921_rr(pri, 1, 1);
|
||||
else {
|
||||
if (!pri->txqueue->transmitted)
|
||||
pri_error(pri, "!! Not good - head of queue has not been transmitted yet\n");
|
||||
|
||||
8
q931.c
Executable file → Normal file
8
q931.c
Executable file → Normal file
@@ -1382,12 +1382,14 @@ static FUNC_RECV(receive_keypad_facility)
|
||||
if (ie->len == 0)
|
||||
return -1;
|
||||
|
||||
if (ie->len > sizeof(call->digitbuf))
|
||||
mylen = sizeof(call->digitbuf);
|
||||
if (ie->len > (sizeof(call->digitbuf) - 1))
|
||||
mylen = (sizeof(call->digitbuf) - 1);
|
||||
else
|
||||
mylen = ie->len;
|
||||
|
||||
libpri_copy_string(call->digitbuf, (char *) ie->data, mylen);
|
||||
memcpy(call->digitbuf, ie->data, mylen);
|
||||
|
||||
call->digitbuf[mylen] = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
0
testprilib.c
Executable file → Normal file
0
testprilib.c
Executable file → Normal file
Reference in New Issue
Block a user