Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
9916bca5
Commit
9916bca5
authored
May 29, 2006
by
Browse files
fix
git-svn-id:
file:///home/svn/mapi/trunk@568
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
f385644f
Changes
2
Hide whitespace changes
Inline
Side-by-side
mapiipc.c
View file @
9916bca5
...
@@ -143,7 +143,7 @@ void *mapiipc_comm_thread(void *host) {
...
@@ -143,7 +143,7 @@ void *mapiipc_comm_thread(void *host) {
while
(
1
)
{
while
(
1
)
{
if
(
dbuf_bytes
==
0
||
dbuf_bytes
<
dbuf
->
length
)
{
if
(
dbuf_bytes
==
0
||
(
dbuf
->
length
<
DIMAPI_DATA_SIZE
&&
dbuf_bytes
<
dbuf
->
length
)
)
{
if
(
host
==
NULL
)
return
NULL
;
if
(
host
==
NULL
)
return
NULL
;
recv_bytes
=
recv
(
sockfd
,
(
char
*
)
&
buffer
+
dbuf_bytes
,
DIMAPI_DATA_SIZE
,
0
);
recv_bytes
=
recv
(
sockfd
,
(
char
*
)
&
buffer
+
dbuf_bytes
,
DIMAPI_DATA_SIZE
,
0
);
if
(
recv_bytes
==
-
1
)
{
if
(
recv_bytes
==
-
1
)
{
...
...
mapiipc.h
View file @
9916bca5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#define MAX_SEND_SIZE 8192//1024
#define MAX_SEND_SIZE 8192//1024
#define FUNCTARGS_BUF_SIZE 7168
#define FUNCTARGS_BUF_SIZE 7168
#define DATA_SIZE 7168
#define DATA_SIZE 7168
#define DIMAPI_DATA_SIZE
7168
#define DIMAPI_DATA_SIZE
50000
#define FUNCT_NAME_LENGTH 256
#define FUNCT_NAME_LENGTH 256
#define ARG_LENGTH 32
#define ARG_LENGTH 32
#define MAPIDSOCKHOME "%s/.mapid.sock"
#define MAPIDSOCKHOME "%s/.mapid.sock"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment