Skip to content

Commit

Permalink
Error messages should not have a trailing period.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Aug 28, 2015
1 parent fc58e44 commit 25faca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ server_window_check_silence(struct session *s, struct winlink *wl)
* from this window.
*/
if (gettimeofday(&w->silence_timer, NULL) != 0)
fatal("gettimeofday failed.");
fatal("gettimeofday failed");

return (0);
}
Expand Down
2 changes: 1 addition & 1 deletion window.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ window_pane_read_callback(unused struct bufferevent *bufev, void *data)
*/
wp->window->flags |= WINDOW_SILENCE;
if (gettimeofday(&wp->window->silence_timer, NULL) != 0)
fatal("gettimeofday failed.");
fatal("gettimeofday failed");
return;

start_timer:
Expand Down

0 comments on commit 25faca4

Please sign in to comment.