File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,16 +143,16 @@ typedef struct nano_dialer_s {
143143
144144typedef struct nano_stream_s {
145145 nng_stream * stream ;
146- enum {
147- NANO_STREAM_DIALER ,
148- NANO_STREAM_LISTENER
149- } mode ;
150- int textframes ;
151146 union {
152147 nng_stream_dialer * dial ;
153148 nng_stream_listener * list ;
154149 } endpoint ;
155150 nng_tls_config * tls ;
151+ int textframes ;
152+ enum {
153+ NANO_STREAM_DIALER ,
154+ NANO_STREAM_LISTENER
155+ } mode ;
156156} nano_stream ;
157157
158158typedef enum nano_aio_typ {
@@ -169,11 +169,11 @@ typedef enum nano_aio_typ {
169169
170170typedef struct nano_aio_s {
171171 nng_aio * aio ;
172- nano_aio_typ type ;
173172 int mode ;
174173 int result ;
175174 void * data ;
176175 void * next ;
176+ nano_aio_typ type ;
177177} nano_aio ;
178178
179179typedef struct nano_cv_s {
You can’t perform that action at this time.
0 commit comments