mirror of
git://erdgeist.org/opentracker
synced 2025-01-13 16:30:06 +00:00
break belongs inside the guard
This commit is contained in:
parent
d1e6e4486c
commit
9c7be324f5
@ -497,8 +497,8 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws,
|
||||
return ws->reply_size = sprintf( ws->reply, "Successfully added.\n" );
|
||||
//}
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
case 9: /* matched "peer_id" */
|
||||
/* ignore this, when we have less than 20 bytes */
|
||||
if( scan_urlencoded_query( &read_ptr, write_ptr = read_ptr, SCAN_SEARCHPATH_VALUE ) != 20 ) HTTPERROR_400_PARAM;
|
||||
|
Loading…
Reference in New Issue
Block a user