aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-22 13:43:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-22 13:43:52 +0000
commitb7a6b78e0caaf7f59bdfe64cc8c27f765257b6a0 (patch)
treec3f9f858a9434cce28ebde5b4c0ea215e1db9763 /docs/examples
parent855a9eff767e6aea52ecaea905bd8519c0ade944 (diff)
renamed curl_thread to my_thread to avoid confusion
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/curlgtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/curlgtk.c b/docs/examples/curlgtk.c
index 69b016261..37c47f417 100644
--- a/docs/examples/curlgtk.c
+++ b/docs/examples/curlgtk.c
@@ -42,7 +42,7 @@ int my_progress_func(GtkWidget *Bar,
return 0;
}
-void *curl_thread(void *ptr)
+void *my_thread(void *ptr)
{
CURL *curl;
CURLcode res;
@@ -94,7 +94,7 @@ int main(int argc, char **argv)
gtk_container_add(GTK_CONTAINER(Frame2), Bar);
gtk_widget_show_all(Window);
- if (!g_thread_create(&curl_thread, argv[1], FALSE, NULL) != 0)
+ if (!g_thread_create(&my_thread, argv[1], FALSE, NULL) != 0)
g_warning("can't create the thread");