Linus Torvalds 83aff9f777 Fix crash when merging dives with a missing dive computer model
The test for the dive being a planned dive was completely bogus:

 - it should use "same_string()" which correctly checks for NULL

 - the string it checks for is obviously spelled wrong anyway.

Reported-by: Alessandro Volpi <volpial@gmail.com>
Fixes: a031dbbbd ("When merging planned dives keep all cylinders")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-15 21:46:15 -08:00
..
2017-02-03 15:01:15 -08:00
2016-09-20 09:26:35 -07:00
2016-08-10 15:08:51 -07:00
2016-11-09 06:33:45 -08:00
2017-02-03 09:35:01 -08:00
2017-02-03 15:01:15 -08:00
2016-12-31 09:56:08 +02:00
2017-01-06 20:43:23 -08:00
2016-04-20 16:00:28 -07:00
2017-01-06 20:43:23 -08:00
2017-01-06 20:43:23 -08:00
2016-04-29 09:07:17 -07:00
2016-04-29 09:07:17 -07:00
2017-02-03 15:04:51 -08:00
2016-04-29 09:07:17 -07:00