X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt-error.c;h=d3e57cba6791da535d6ac64f90ad2aad5de51bc7;hp=21d30e687bc2b5c49e568b94fde9d9431df8bc4b;hb=47ff725ff3b109b94a23ea7c8c07c8b1417e31ef;hpb=f2187ebd49f78b84bd2dca6172abc81e54dda199 diff --git a/src/ttt-error.c b/src/ttt-error.c index 21d30e6..d3e57cb 100644 --- a/src/ttt-error.c +++ b/src/ttt-error.c @@ -28,25 +28,25 @@ ttt_error_string (ttt_error_t error) case TTT_ERROR_NONE: return "ERROR NONEi\r\n"; case TTT_ERROR_NO_NAME_SET: - return "ERROR NONAMESET\r\n"; + return "ERROR NO_NAME_SET\r\n"; case TTT_ERROR_INVALID_NAME: - return "ERROR INVALIDNAME\r\n"; + return "ERROR INVALID_NAME\r\n"; case TTT_ERROR_COMMAND: return "ERROR COMMAND\r\n"; case TTT_ERROR_SYNTAX: return "ERROR SYNTAX\r\n"; case TTT_ERROR_NOT_NUMBER: - return "ERROR NOTNUMBER\r\n"; + return "ERROR NOT_NUMBER\r\n"; case TTT_ERROR_NOT_GRID: - return "ERROR NOTGRID\r\n"; + return "ERROR NOT_GRID\r\n"; case TTT_ERROR_NO_USER: - return "ERROR NOUSER\r\n"; + return "ERROR NO_USER\r\n"; case TTT_ERROR_NOT_IN_GAME: - return "ERROR_NOTINGAME\r\n"; + return "ERROR_NOT_IN_GAME\r\n"; case TTT_ERROR_NOT_PLAYING: - return "ERROR_NOTPLAYING\r\n"; + return "ERROR_NOT_PLAYING\r\n"; case TTT_ERROR_NOT_YOUR_TURN: - return "ERROR NOTYOURTURN\r\n"; + return "ERROR NOT_YOUR_TURN\r\n"; /* Not an actual protocol errror, so this should never happen. */ case TTT_ERROR_QUIT_REQUESTED: ASSERT_NOT_REACHED;