changeset 10328:0e9be9a1d68d

[gaim-migrate @ 11535] I'll take "Reasons why -Wall is a good thing" for 400. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 08 Dec 2004 00:24:37 +0000
parents d88ee1d73a93
children 0ad82da3ffcf
files src/protocols/zephyr/ZLocations.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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