artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901f37c
)
fix symtab skip loop (s,p,q,).
author
mickey
<mickey@openbsd.org>
Fri, 10 May 1996 14:00:56 +0000
(14:00 +0000)
committer
mickey
<mickey@openbsd.org>
Fri, 10 May 1996 14:00:56 +0000
(14:00 +0000)
sys/ddb/db_hangman.c
patch
|
blob
|
history
diff --git
a/sys/ddb/db_hangman.c
b/sys/ddb/db_hangman.c
index
d4b70d4
..
62be09d
100644
(file)
--- a/
sys/ddb/db_hangman.c
+++ b/
sys/ddb/db_hangman.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: db_hangman.c,v 1.
3 1996/05/10 13:58:43
mickey Exp $ */
+/* $OpenBSD: db_hangman.c,v 1.
4 1996/05/10 14:00:56
mickey Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt, Michael Shalayeff
@@
-74,7
+74,7
@@
db_randomsym(lenp)
/* don't show symtab name if there are less than 3 of 'em */
if (db_nsymtabs < 3)
- while(*
p
++ != ':');
+ while(*
q
++ != ':');
/* strlen(q) && ignoring underscores and colons */
for ((*lenp) = 0, p = q; *p; p++)