Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit617e6b2a2e7e7c0668e3374f99542ccb506a3099 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-13 21:07:24 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-13 21:07:24 +0200
Files0da254a7de1bc6928eb290208cd4da1f3332c1d8
goodwolf-617e6b2a2e7e7c0668e3374f99542ccb506a3099.tar
goodwolf-617e6b2a2e7e7c0668e3374f99542ccb506a3099.tar.gz
goodwolf-617e6b2a2e7e7c0668e3374f99542ccb506a3099.zip
Parente2b66bcb48a0170481966d23d371f2e4cbc3423f (diff)
make format
1 files changed, 9 insertions, 3 deletions
-rw-r--r--badwolf.c12
diff --git a/badwolf.c b/badwolf.c
index e4ce45e..612397c 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -85,19 +85,25 @@ WebViewCb_close(WebKitWebView *webView, gpointer user_data)
}
static gboolean
-WebViewCb_web_process_terminated(WebKitWebView *webView, WebKitWebProcessTerminationReason reason, gpointer user_data)
+WebViewCb_web_process_terminated(WebKitWebView *webView,
+ WebKitWebProcessTerminationReason reason,
+ gpointer user_data)
{
(void)webView;
struct Client *browser = (struct Client *)user_data;
switch(reason)
{
- case WEBKIT_WEB_PROCESS_CRASHED: g_fprintf(stderr, "the web process crashed."); webView_tab_label_change(browser, "Crashed"); break;
+ case WEBKIT_WEB_PROCESS_CRASHED:
+ g_fprintf(stderr, "the web process crashed.");
+ webView_tab_label_change(browser, "Crashed");
+ break;
case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT:
g_fprintf(stderr, "the web process exceeded the memory limit.");
webView_tab_label_change(browser, "Out of Memory");
break;
- default: g_fprintf(stderr, "the web process terminated for an unknown reason.");
+ default:
+ g_fprintf(stderr, "the web process terminated for an unknown reason.");
webView_tab_label_change(browser, "Unknown Crash");
}