Prevent warning logs when recording-method is pcap #2#1924
Prevent warning logs when recording-method is pcap #2#1924orgads wants to merge 1 commit intosipwise:masterfrom
Conversation
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes sipwise#1889 for real this time. Amends commit 759fd72.
|
The error is unrelated to my changes. |
|
Why not just put the check in open_proc_meta_file and do the early return there? |
To avoid needless work until we reach there. Do you consider it negligible, and prefer to move it there? |
Doesn't really matter. I was just thinking that if it had been there in the first place, then this second commit would have been unnecessary 😁 But no matter, will merge. |
|
@rfuchs ping I double-checked, and there are no other calls, so this should seal this case without extra work. If you still prefer to move the condition to |
|
Sorry for the delay, completely lost focus on this |
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c) (cherry picked from commit d4dee6c)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c) (cherry picked from commit d7d51e8)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c) (cherry picked from commit 8576d50)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Fixes #1889 for real this time. Amends commit 759fd72. Closes #1924 Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c (cherry picked from commit 312997c) (cherry picked from commit 83fa97f)
If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as:
[core] Failed to open recording metadata file '(null)' for writing: Bad address
Prevent them by returning earlier.
Fixes #1889 for real this time.
Amends commit 759fd72.