# HG changeset patch # User Mark Doliner # Date 1102465477 0 # Node ID 0e9be9a1d68d35570a1eba91ed9fd3f474bdd438 # Parent d88ee1d73a93183b4c5a134abb5d5ae0f12a6a24 [gaim-migrate @ 11535] I'll take "Reasons why -Wall is a good thing" for 400. committer: Tailor Script diff -r d88ee1d73a93 -r 0e9be9a1d68d src/protocols/zephyr/ZLocations.c --- a/src/protocols/zephyr/ZLocations.c Wed Dec 08 00:20:38 2004 +0000 +++ b/src/protocols/zephyr/ZLocations.c Wed Dec 08 00:24:37 2004 +0000 @@ -5,7 +5,7 @@ * Created by: Robert French * * $Source$ - * $Author: seanegan $ + * $Author: thekingant $ * * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file @@ -91,7 +91,7 @@ } #ifndef X_DISPLAY_MISSING if ((display = getenv("DISPLAY")) && *display) { - (void) strncpy(mytty, sizeof(mytty), display); + (void) strncpy(mytty, display, sizeof(mytty)); mytty[sizeof(mytty)-1] = '\0'; } else { #endif