Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
8f1b39e3
Commit
8f1b39e3
authored
Jan 17, 2003
by
Michael Smith
Browse files
Fix some warnings, fix cflags.
svn path=/trunk/httpp/; revision=4258
parent
4dce25a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/httpp/httpp.c
View file @
8f1b39e3
...
...
@@ -55,7 +55,8 @@ static int split_headers(char *data, unsigned long len, char **line)
/* first we count how many lines there are
** and set up the line[] array
*/
int
i
,
lines
=
0
;
int
lines
=
0
;
unsigned
long
i
;
line
[
lines
]
=
data
;
for
(
i
=
0
;
i
<
len
&&
lines
<
MAX_HEADERS
;
i
++
)
{
if
(
data
[
i
]
==
'\r'
)
...
...
src/thread/thread.c
View file @
8f1b39e3
...
...
@@ -88,12 +88,15 @@ static int _logid = -1;
static
long
_next_thread_id
=
0
;
static
int
_initialized
=
0
;
static
avl_tree
*
_threadtree
=
NULL
;
static
mutex_t
_threadtree_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
};
static
mutex_t
_threadtree_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
,
PTHREAD_MUTEX_INITIALIZER
};
static
long
_next_mutex_id
=
0
;
static
avl_tree
*
_mutextree
=
NULL
;
static
mutex_t
_mutextree_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
};
static
mutex_t
_library_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
};
static
mutex_t
_mutextree_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
,
PTHREAD_MUTEX_INITIALIZER
};
static
mutex_t
_library_mutex
=
{
-
1
,
NULL
,
MUTEX_STATE_UNINIT
,
NULL
,
-
1
,
PTHREAD_MUTEX_INITIALIZER
};
/* INTERNAL FUNCTIONS */
...
...
Write
Preview
Supports
Markdown
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