Ignore:
Timestamp:
2010-01-04T17:44:28Z (15 years ago)
Author:
Lukas Mejdrech <lukas@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
daecfed3
Parents:
2d68c72
Message:
  • nettest[12] default datagram size corresponds to the pattern, * nettest[12] output placement fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/app/nettest2/nettest2.c

    r2d68c72 r9d28b9c  
    366366        ERROR_DECLARE;
    367367
    368         size_t                          size                    = 29;
     368        size_t                          size                    = 28;
    369369        int                                     verbose                 = 0;
    370370        sock_type_t                     type                    = SOCK_DGRAM;
     
    507507
    508508        ERROR_PROPAGATE( sockets_create( verbose, socket_ids, sockets, family, type ));
     509
    509510        if( type == SOCK_STREAM ){
    510511                ERROR_PROPAGATE( sockets_connect( verbose, socket_ids, sockets, address, addrlen ));
    511512        }
     513
     514        if( verbose ) printf( "\n" );
    512515
    513516        if( ERROR_OCCURRED( gettimeofday( & time_before, NULL ))){
     
    546549        ERROR_PROPAGATE( sockets_close( verbose, socket_ids, sockets ));
    547550
    548         if( verbose ) printf( "Exiting\n" );
     551        if( verbose ) printf( "\nExiting\n" );
    549552
    550553        return EOK;
Note: See TracChangeset for help on using the changeset viewer.