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
651c64e1
Commit
651c64e1
authored
Jun 04, 2006
by
Browse files
fixed some warnings
git-svn-id:
file:///home/svn/mapi/trunk@620
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
81ac4a44
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/common/flist.h
View file @
651c64e1
...
@@ -70,7 +70,7 @@ void* flist_remove(flist_t *list,int,flist_destroy_t dealloc);
...
@@ -70,7 +70,7 @@ void* flist_remove(flist_t *list,int,flist_destroy_t dealloc);
* \param index specifies the exact index of the list where the node should be inserted
* \param index specifies the exact index of the list where the node should be inserted
* \return 0 on success, or -1 on failure
* \return 0 on success, or -1 on failure
*/
*/
int
flist_insert
(
flist_t
*
list
,
int
id
,
void
*
data
,
int
index
);
int
flist_insert
(
flist_t
*
list
,
int
id
,
void
*
data
,
int
list_
index
);
/** \brief Reverse the order of the list
/** \brief Reverse the order of the list
* \param list a pointer to an existing list
* \param list a pointer to an existing list
...
...
src/mapicommd.c
View file @
651c64e1
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
#include "parseconf.h"
#include "parseconf.h"
#include "mapi_errors.h"
#include "mapi_errors.h"
#include "mapilibhandler.h"
#include "mapilibhandler.h"
#include "printfstring.h"
#define MAXPENDING 500
/* Maximum outstanding connection requests */
#define MAXPENDING 500
/* Maximum outstanding connection requests */
...
@@ -31,7 +32,7 @@ void *handle_request(void *);
...
@@ -31,7 +32,7 @@ void *handle_request(void *);
int
die
(
char
*
msg
);
int
die
(
char
*
msg
);
int
getfid
(
struct
dmapiipcbuf
*
dbuf
);
int
getfid
(
struct
dmapiipcbuf
*
dbuf
);
int
main
(
int
argc
,
char
**
argv
)
{
int
main
()
{
int
serv_sock
=
0
;
int
serv_sock
=
0
;
int
new_sock
=
0
;
/* client's socket descriptor (from connect()) */
int
new_sock
=
0
;
/* client's socket descriptor (from connect()) */
...
...
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