repo.or.cz
/
opsoft_test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
current version
[opsoft_test.git]
/
gclib2
/
unit_tests
/
http.cxx
blob
e312564f2b09f5fc0d4944040a029c18fb1403bb
1
/*
2
* (c) Oleg Puchinin 2008
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#include <gclib2.h>
8
#include <http.h>
9
10
int
main
(
int
argc
,
char
**
argv
)
11
{
12
int
size
;
13
char
*
m_data
;
14
15
m_data
=
http_get
(
argv
[
1
], &
size
);
16
fwrite
(
m_data
,
1
,
size
,
stdout
);
17
}
18