mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
13 lines
247 B
C
13 lines
247 B
C
|
/* Tool for testing the cookies path */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include "path.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
int res = is_path_prefix(argv[1], argv[2]);
|
||
|
printf("is_path_prefix(\"%s\", \"%s\")=%d\n", argv[1], argv[2], res);
|
||
|
|
||
|
return !res;
|
||
|
}
|