Fossil SCM

Remove a debugging printf() that was mistakenly left in the previous check-in.

drh 2021-01-05 19:24 trunk
Commit 42efc6295186af294bf83956660b16a5154fb2bfabed1967f031596ec19bf2ff
1 file changed -1
-1
--- src/chat.c
+++ src/chat.c
@@ -713,11 +713,10 @@
713713
void chat_audio_alert(void){
714714
Blob audio = empty_blob;
715715
int n = 0;
716716
const char *zName = db_get("chat-alert-sound", "alerts/plunk.wav");
717717
const char *zAudio = (const char*)builtin_file(zName, &n);
718
-fprintf(stderr, "ALERT: %s (%d)\n", zName, n);
719718
blob_init(&audio, zAudio, n);
720719
cgi_set_content_type("audio/wav");
721720
cgi_set_content(&audio);
722721
}
723722
724723
--- src/chat.c
+++ src/chat.c
@@ -713,11 +713,10 @@
713 void chat_audio_alert(void){
714 Blob audio = empty_blob;
715 int n = 0;
716 const char *zName = db_get("chat-alert-sound", "alerts/plunk.wav");
717 const char *zAudio = (const char*)builtin_file(zName, &n);
718 fprintf(stderr, "ALERT: %s (%d)\n", zName, n);
719 blob_init(&audio, zAudio, n);
720 cgi_set_content_type("audio/wav");
721 cgi_set_content(&audio);
722 }
723
724
--- src/chat.c
+++ src/chat.c
@@ -713,11 +713,10 @@
713 void chat_audio_alert(void){
714 Blob audio = empty_blob;
715 int n = 0;
716 const char *zName = db_get("chat-alert-sound", "alerts/plunk.wav");
717 const char *zAudio = (const char*)builtin_file(zName, &n);
 
718 blob_init(&audio, zAudio, n);
719 cgi_set_content_type("audio/wav");
720 cgi_set_content(&audio);
721 }
722
723

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button