Browse code

update

git-svn: trunk@1248

Tomasz Kojm authored on 2005/01/16 13:44:08
Showing 2 changed files
... ...
@@ -270,7 +270,7 @@ char *cli_strtokbuf(const char *input, int fieldno, const char *delim, char *out
270 270
     return output;
271 271
 }
272 272
 
273
-int cli_memstr(const char *haystack, int hs, const char *needle, int ns)
273
+char *cli_memstr(const char *haystack, int hs, const char *needle, int ns)
274 274
 {
275 275
 	const char *pt, *hay;
276 276
 	int n;
... ...
@@ -26,6 +26,6 @@ short int *cli_hex2si(const char *hex);
26 26
 char *cli_hex2str(const char *hex);
27 27
 char *cli_str2hex(const char *string, unsigned int len);
28 28
 char *cli_strtokbuf(const char *input, int fieldno, const char *delim, char *output);
29
-int cli_memstr(const char *haystack, int hs, const char *needle, int ns);
29
+char *cli_memstr(const char *haystack, int hs, const char *needle, int ns);
30 30
 
31 31
 #endif