mirror of https://gerrit.osmocom.org/asn1c
typos fixed
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@622 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
37731e9fc8
commit
6c37dacec5
|
@ -1374,7 +1374,7 @@ the file <B>main.c</B>:
|
|||
<FONT SIZE="-1"> return (wrote == size) ? 0 : -1;</FONT>
|
||||
<FONT SIZE="-1">}</FONT>
|
||||
|
||||
<FONT SIZE="-1">int main(int ac, char *av) {</FONT>
|
||||
<FONT SIZE="-1">int main(int ac, char **av) {</FONT>
|
||||
<FONT SIZE="-1"> Rectangle_t *rectangle; /* Type to encode */</FONT>
|
||||
<FONT SIZE="-1"> asn_enc_rval_t ec; /* Encoder return value */</FONT>
|
||||
|
||||
|
@ -1403,7 +1403,7 @@ the file <B>main.c</B>:
|
|||
<FONT SIZE="-1"> </FONT>
|
||||
<FONT SIZE="-1"> /* Encode the Rectangle type as BER (DER) */</FONT>
|
||||
<FONT SIZE="-1"> ec = der_encode(&asn_DEF_Rectangle,</FONT>
|
||||
<FONT SIZE="-1"> rectangle, write_out, stream);</FONT>
|
||||
<FONT SIZE="-1"> rectangle, write_out, fp);</FONT>
|
||||
<FONT SIZE="-1"> fclose(fp);</FONT>
|
||||
<FONT SIZE="-1"> if(ec.encoded == -1) {</FONT>
|
||||
<FONT SIZE="-1"> fprintf(stderr,</FONT>
|
||||
|
|
|
@ -2951,7 +2951,7 @@ write_out(const void *buffer, size_t size, void *app_key) {
|
|||
|
||||
|
||||
\size small
|
||||
int main(int ac, char *av) {
|
||||
int main(int ac, char **av) {
|
||||
\layout LyX-Code
|
||||
|
||||
|
||||
|
@ -3120,7 +3120,7 @@ w
|
|||
|
||||
|
||||
\size small
|
||||
rectangle, write_out, stream);
|
||||
rectangle, write_out, fp);
|
||||
\layout LyX-Code
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue