projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e570ccd
)
src/utils_params.c: Fix some compiler warnings.
author
Florian Forster
<ff@octo.it>
Fri, 18 Jun 2010 19:05:30 +0000
(21:05 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 18 Jun 2010 19:05:30 +0000
(21:05 +0200)
src/utils_params.c
patch
|
blob
|
history
diff --git
a/src/utils_params.c
b/src/utils_params.c
index
bfde56b
..
dbe085d
100644
(file)
--- a/
src/utils_params.c
+++ b/
src/utils_params.c
@@
-3,6
+3,7
@@
#include <string.h>
#include <ctype.h>
#include <errno.h>
+#include <time.h>
#include "utils_params.h"
@@
-232,7
+233,7
@@
int uri_escape (char *dst, const char *src, size_t size) /* {{{ */
else if ((src[in] < 32)
|| (src[in] == '&')
|| (src[in] == ';')
- || (
src[in]
>= 128))
+ || (
((unsigned char) src[in])
>= 128))
{
char esc[4];
@@
-254,9
+255,11
@@
int uri_escape (char *dst, const char *src, size_t size) /* {{{ */
in++;
}
} /* while (42) */
+
+ return (0);
} /* }}} int uri_escape */
-const char *script_name (void)
+const char *script_name (void)
/* {{{ */
{
char *ret;