summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2017-04-18 13:19:46 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2017-04-18 13:19:46 +0200
commit50b576fbebe29980a594c60cca5c73e038dfd274 (patch)
tree9f2c73625bebd07d6179e0479ed3dc54343f3454
parentbab73f99a2dc99604fb38b8fa2c73e3453c12b2a (diff)
downloadscreen-50b576fbebe29980a594c60cca5c73e038dfd274.tar.gz
fix typos
-rw-r--r--src/screen.c2
-rw-r--r--src/socket.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c
index 8f50d76..eaec5a2 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1340,7 +1340,7 @@ int main(int ac, char** av)
#endif
sprintf(SockPath + strlen(SockPath), "/%s", socknamebuf);
- /* Always create sockets. We only only allow attaching to fifos not creating
+ /* Always create sockets. We only allow attaching to fifos not creating
* new ones.
*/
ServerSocket = MakeServerSocket(true);
diff --git a/src/socket.c b/src/socket.c
index 69da21d..88c3dd8 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -1427,7 +1427,7 @@ struct msg *m;
#if defined(pyr) || defined(xelos) || defined(sequent)
/*
* Kludge for systems with braindamaged termcap routines,
- * which evaluate $TERMCAP, regardless weather it describes
+ * which evaluate $TERMCAP, regardless whether it describes
* the correct terminal type or not.
*/
debug("unsetenv(TERMCAP) in case of a different terminal");
@@ -1438,7 +1438,7 @@ struct msg *m;
* We reboot our Terminal Emulator. Forget all we knew about
* the old terminal, reread the termcap entries in .screenrc
* (and nothing more from .screenrc is read. Mainly because
- * I did not check, weather a full reinit is safe. jw)
+ * I did not check, whether a full reinit is safe. jw)
* and /etc/screenrc, and initialise anew.
*/
if (extra_outcap)