projects
/
ckermit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add openssl to Build-Depends so openssl binary is available to makefile
[ckermit.git]
/
ckuus4.c
diff --git
a/ckuus4.c
b/ckuus4.c
index
946603a
..
defa68d
100644
(file)
--- a/
ckuus4.c
+++ b/
ckuus4.c
@@
-12681,7
+12681,9
@@
nvlook(s) char *s; {
#ifndef NODIAL
case VN_DMSG:
#ifdef BIGBUFOK
#ifndef NODIAL
case VN_DMSG:
#ifdef BIGBUFOK
- ckstrncpy(vvbuf,dialmsg[dialsta],VVBUFL); /* Safe if src == NULL */
+ ckstrncpy(vvbuf,
+ ((dialsta < 0) ? "(none)" : dialmsg[dialsta]),
+ VVBUFL); /* Safe if src == NULL */
#endif /* BIGBUFOK */
return((char *)vvbuf);
#endif /* NODIAL */
#endif /* BIGBUFOK */
return((char *)vvbuf);
#endif /* NODIAL */