Univention Bugzilla – Attachment 8708 Details for
Bug 44167
listener doesn't handle "master entry has unexpected length" properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fallback_to_notifier_id_file_if_master_entry_has_unexpected_length.patch
fallback_to_notifier_id_file_if_master_entry_has_unexpected_length.patch (text/plain), 490 bytes, created by
Arvid Requate
on 2017-03-30 16:49:15 CEST
(
hide
)
Description:
fallback_to_notifier_id_file_if_master_entry_has_unexpected_length.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2017-03-30 16:49:15 CEST
Size:
490 bytes
patch
obsolete
>Index: src/main.c >=================================================================== >--- src/main.c (Revision 78503) >+++ src/main.c (Arbeitskopie) >@@ -576,7 +576,7 @@ > > /* if no ID is set, assume the database has just been initialized */ > rv = cache_get_master_entry(&cache_master_entry); >- if (rv == MDB_NOTFOUND) { >+ if (rv) { > cache_get_int("notifier_id", &cache_master_entry.id, -1); > if (cache_master_entry.id == -1) { > rv = notifier_get_id_s(NULL, &cache_master_entry.id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44167
:
8708
|
8709