fix ports/palm/coldsync: fix dumps core
PR: 51139 Submitted by: Helge Oldach <send-pr-31231@oldach.net>
This commit is contained in:
parent
a517d5fd31
commit
2be3e37efb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84132
1 changed files with 11 additions and 0 deletions
11
palm/coldsync/files/patch-coldsync.c
Normal file
11
palm/coldsync/files/patch-coldsync.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/coldsync.c.ORIG Fri Apr 18 22:59:58 2003
|
||||
+++ src/coldsync.c Fri Apr 18 23:10:57 2003
|
||||
@@ -622,7 +622,7 @@
|
||||
|
||||
time(&now);
|
||||
Verbose(1, _("Sync for %s at %s"),
|
||||
- (pda->name == NULL ? "unnamed PDA" : pda->name),
|
||||
+ (pda == NULL || pda->name == NULL ? "unnamed PDA" : pda->name),
|
||||
ctime(&now));
|
||||
|
||||
/* See if the userid matches. */
|
Loading…
Reference in a new issue