I call my program like this:
$ ./test http://myserver.com/get?id=XaXz-dryq...wpxDB64juPIhQR
But only this get printed out:
./test
http://myserver.com/get?id=XaXz-dryqLg
It seems like the second 'argv' get chopped off at '&' , can you
please tell me why is that and how to fix it?
int main( int i_argc, char *argv[] )
{
fprintf (stderr, "******************\n");
for (int i = 0; i < i_argc; i++) {
fprintf (stderr, " %s\n",argv[i]);
}
//....
}